remove mission relation from cartables
This commit is contained in:
@@ -314,6 +314,8 @@ class AccidentReceiptController extends Controller
|
||||
|
||||
$response = json_decode($paymentService->callPaymentStatusBillApi(explode("/", $accident->bill_code)[0]));
|
||||
|
||||
throw_if(!$response->isPayed, new ProhibitedAction('پرداخت انجام نشده است'));
|
||||
|
||||
if ($response->isPayed) {
|
||||
$accident->update([
|
||||
'status' => AccidentStates::PARDAKHT_FACTOR->value,
|
||||
|
||||
Reference in New Issue
Block a user