supply chain controller
This commit is contained in:
@@ -319,7 +319,7 @@ class SupplyChainController extends Controller
|
|||||||
])->select('bids')->first();
|
])->select('bids')->first();
|
||||||
|
|
||||||
//Increment the number of bids
|
//Increment the number of bids
|
||||||
$numBids = $num->bid + 1;
|
$numBids = $num->bids + 1;
|
||||||
|
|
||||||
//Update the database
|
//Update the database
|
||||||
SupplyChainContract::where([
|
SupplyChainContract::where([
|
||||||
@@ -360,7 +360,7 @@ class SupplyChainController extends Controller
|
|||||||
])->select('bids')->first();
|
])->select('bids')->first();
|
||||||
|
|
||||||
//Decrement the number of bids
|
//Decrement the number of bids
|
||||||
$numBids = $num->bid - 1;
|
$numBids = $num->bids - 1;
|
||||||
|
|
||||||
//Update the database
|
//Update the database
|
||||||
SupplyChainContract::where([
|
SupplyChainContract::where([
|
||||||
|
|||||||
Reference in New Issue
Block a user