debug pending order export

This commit is contained in:
omair saleh
2022-11-08 13:14:21 +08:00
parent a01ecd4d37
commit 1e8959c064
+2 -2
View File
@@ -266,8 +266,8 @@ Route::get('/pending_orders', function(){
$i = 0;
foreach ($payments as $payment){
$booking = $payment->owner;
if (!$booking->bank){
dd($booking->marking);
if(!$booking instanceof Booking){
dd($payment);
}
$bankType = str::length($booking->bank->holder_name) > 4 ? 'Company' : 'Personal';