modified public contracts to show the region the public contract is in.
This commit is contained in:
@@ -58,6 +58,7 @@ class GetPublicContractsJob implements ShouldQueue
|
||||
])->count();
|
||||
if($count == 0) {
|
||||
$pub = new PublicContract;
|
||||
$pub->region_id = $this->region;
|
||||
if(isset($resp->buyout)) {
|
||||
$pub->buyout = $resp->buyout;
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@ class PublicContract extends Model
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'region_id',
|
||||
'buyout',
|
||||
'collateral',
|
||||
'contract_id',
|
||||
|
||||
Reference in New Issue
Block a user