diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 5e9aa8a8..d1f54f52 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -44,13 +44,13 @@ class Kernel extends ConsoleKernel ->appendOutputTo(storage_path().'/logs/delete-bulk-download-files.log') ->withoutOverlapping(); - $schedule->command('booking:expired') - ->dailyAt('02:00') - ->withoutOverlapping(); + // $schedule->command('booking:expired') + // ->dailyAt('02:00') + // ->withoutOverlapping(); - $schedule->command('purchaseOrder:autoFill') - ->dailyAt('03:00') - ->withoutOverlapping(); + // $schedule->command('purchaseOrder:autoFill') + // ->dailyAt('03:00') + // ->withoutOverlapping(); } /** diff --git a/routes/web.php b/routes/web.php index 1fb2878f..44380046 100644 --- a/routes/web.php +++ b/routes/web.php @@ -872,6 +872,8 @@ Route::get('/transfer/{marking}/payment-details', function ($marking) { $transactions = $booking->transactions()->withTrashed()->get(); + $paymentMethods = PaymentMethodType::PAYMENT_METHODS_ID; + $statusLabels = [ 0 => 'PAYMENT_ATTEMPT', 1 => 'PAYMENT', @@ -898,6 +900,7 @@ Route::get('/transfer/{marking}/payment-details', function ($marking) { echo '
| Counter | '; + echo 'ID | '; + echo 'Booking | '; + echo 'Payments | '; + echo 'Amount | '; + echo 'Type | '; + echo 'Status | '; + echo 'Updated At | '; + echo '
|---|---|---|---|---|---|---|---|
| ' . $counter++ . ' | '; + echo '' . $transaction->id . ' | '; + echo '' . ''.$transaction->owner->marking.'' . ' | '; + echo '' . 'Payments' . ' | '; + echo '' . $transaction->amount . ' | '; + echo '' . $statusLabels[$transaction->type] . ' | '; + echo '' . $ApprovalStatus [$transaction->status] . ' | '; + echo '' . $transaction->updated_at . ' | '; + echo '