fix the polygon
This commit is contained in:
@@ -10,6 +10,7 @@ use App\Facades\Sms\Sms;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Requests\V3\AccidentReceipt\ConfirmPaymentInfoRequest;
|
||||
use App\Http\Requests\V3\AccidentReceipt\StoreRequest;
|
||||
use App\Http\Requests\V3\AccidentReceipt\SubmitInvoiceRequest;
|
||||
use App\Http\Requests\V3\AccidentReceipt\UpdateRequest;
|
||||
use App\Http\Traits\ApiResponse;
|
||||
use App\Models\Accident;
|
||||
@@ -280,7 +281,7 @@ class AccidentReceiptController extends Controller
|
||||
/**
|
||||
* @throws Throwable
|
||||
*/
|
||||
public function submitInvoice(Accident $accident, PaymentService $paymentService): JsonResponse
|
||||
public function submitInvoice(Accident $accident, PaymentService $paymentService, SubmitInvoiceRequest $request): JsonResponse
|
||||
{
|
||||
$final_amount = $accident->driver_share_amount - ($accident->deposit_insurance_amount + $accident->deposit_daghi_amount);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user