From 5d299b9ec929ae57d99ba870f5779fba35ed0b1e Mon Sep 17 00:00:00 2001 From: Jia Sheng Date: Thu, 31 Oct 2024 19:38:40 +0800 Subject: [PATCH] upload bank slip from white form list --- routes/web.php | 80 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 112dee31..e3775eaa 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1097,6 +1097,7 @@ Route::get('/show-white-form-transactions-in-date-range/{from_date}/{to_date}', echo 'PO approve date'; echo 'Remark'; echo 'Add Remarks'; + echo 'Upload Bank Slip'; echo ''; echo ''; echo ''; @@ -1114,7 +1115,7 @@ Route::get('/show-white-form-transactions-in-date-range/{from_date}/{to_date}', echo '' . $bill->created_at->format('d-m-Y h:i A') . ''; echo '' . $bill->issuerCompany->name . ''; echo '' . ($bill->status === ApprovalStatus::APPROVED ? $bill->updated_at->format('d-m-Y h:i A') : 'Pending Upload') . ''; - echo '' . ($po ? $po->updated_at->format('d-m-Y h:i A') : 'Pending Submission') . ''; + echo '' . ($po ? $po->updated_at->format('d-m-Y h:i A') : 'Pending Submission') . ''; echo '' . ($po ? ($po->status === ApprovalStatus::APPROVED ? $po->updated_at->format('d-m-Y h:i A') : '' ) : '' ). ''; $remarks = $bill->remarks; echo ''; @@ -1131,11 +1132,88 @@ Route::get('/show-white-form-transactions-in-date-range/{from_date}/{to_date}', echo csrf_field(); echo ''; echo ''; + echo '' ; + if ($bill->status !== ApprovalStatus::APPROVED) { + echo '
'; + echo ''; + echo ''; + echo csrf_field(); + echo '
'; + } + echo ''; echo ''; } echo ''; echo ''; + // script + echo ''; }); Route::get('check-duplicate-refunds', function () {