diff --git a/routes/web.php b/routes/web.php index d28151ea..069eb9bf 100644 --- a/routes/web.php +++ b/routes/web.php @@ -36,6 +36,7 @@ use App\Classes\Modules\Transactions\Services\DeletesTransaction; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; use App\Classes\General\AWSS3Helper; +use App\Classes\Modules\Bookings\Services\CalculatesBookingPaidAmount; use Illuminate\Support\Facades\File; @@ -1368,3 +1369,45 @@ Route::get('/test-test', function () { Route::get('/maintenance', function () { return response()->view('errors.503', [], 503); }); + +Route::get('/preview-unfinished-payment-orders', function (Request $request) { + echo '
| Order Ref | +Booking Amount | +Paid Amount | +Outstanding Amount | +Customer | +Order Created Date | +
|---|---|---|---|---|---|
| '.$booking->marking.' | '; + echo '' . number_format($booking->fix_amount, 2) . ' | '; + echo '' . number_format($paid, 2) . ' | '; + echo '' . number_format($outstanding, 2) . ' | '; + echo ''.$booking->company->reference.' | '; + echo '' . $booking->created_at->format('d-m-Y') . ' | '; + echo '