updated routes and browser links
This commit is contained in:
@@ -190,10 +190,8 @@ class SupplyChainController extends Controller
|
|||||||
return redirect('/supplychain/dashboard')->with('success', 'Contract ended, and mails sent to the winning bidder.');
|
return redirect('/supplychain/dashboard')->with('success', 'Contract ended, and mails sent to the winning bidder.');
|
||||||
} else {
|
} else {
|
||||||
//If the count is zero, then redirect with error messsage
|
//If the count is zero, then redirect with error messsage
|
||||||
return redirect('/supplychain/dashboard')->with('error', '')
|
return redirect('/supplychain/dashboard')->with('error', 'Contract was not yours to end.');
|
||||||
}
|
}
|
||||||
|
|
||||||
return redirect('/supplychain/dashboard')->with('success', 'Contract ended, and mails sent to the winning bidder.');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user