收款记录联查付款单
This commit is contained in:
@@ -87,7 +87,10 @@ class FinReceiptController extends BaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($data['payment_apply_id'])) {
|
if (!empty($data['payment_apply_id'])) {
|
||||||
$paymentApply = FinPaymentApply::where('id', $data['payment_apply_id'])->first()->toArray();
|
$paymentApply = FinPaymentApply::where('id', $data['payment_apply_id'])->first();
|
||||||
|
if(!$paymentApply)
|
||||||
|
return $data;
|
||||||
|
$paymentApply = $paymentApply->toArray();
|
||||||
$paymentApply = (new FinPaymentApplyController())->showFormat($paymentApply);
|
$paymentApply = (new FinPaymentApplyController())->showFormat($paymentApply);
|
||||||
$data['payment_apply'] = $paymentApply;
|
$data['payment_apply'] = $paymentApply;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user