supply chain controller

This commit is contained in:
2020-08-07 14:23:48 -05:00
parent 99f63627b2
commit bb63f9697e

View File

@@ -319,7 +319,7 @@ class SupplyChainController extends Controller
])->select('bids')->first();
//Increment the number of bids
$numBids = $num->bid + 1;
$numBids = $num->bids + 1;
//Update the database
SupplyChainContract::where([
@@ -360,7 +360,7 @@ class SupplyChainController extends Controller
])->select('bids')->first();
//Decrement the number of bids
$numBids = $num->bid - 1;
$numBids = $num->bids - 1;
//Update the database
SupplyChainContract::where([