contract system before testing

This commit is contained in:
2019-04-27 01:04:22 -05:00
parent a977f36377
commit c9bf440ed1
6 changed files with 53 additions and 8 deletions
+1
View File
@@ -21,6 +21,7 @@ class AcceptedBid extends Model
'contract_id',
'bid_id',
'bid_amount',
'notes',
];
public function Contract() {
+4 -1
View File
@@ -20,7 +20,10 @@ class Bid extends Model
protected $fillable = [
'contract_id',
'bid_amount',
'accepted',
'character_name',
'character_id',
'corporation_name',
'corporation_id',
];
protected $guarded = [];
+2
View File
@@ -21,6 +21,8 @@ class Contract extends Model
'title',
'end_date',
'body',
'final_cost',
'finished',
];
//One-to-Many relationship for the bids on a contract