From cfee59fcbcdd93d30f5b4e3ec6c33672d4c813c5 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Fri, 18 Oct 2024 17:37:28 +0500 Subject: [PATCH] wip --- .../views/orders/loan/mobile/card-gurantor-history.blade.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/views/orders/loan/mobile/card-gurantor-history.blade.php b/resources/views/orders/loan/mobile/card-gurantor-history.blade.php index 978c51c..b70febd 100644 --- a/resources/views/orders/loan/mobile/card-gurantor-history.blade.php +++ b/resources/views/orders/loan/mobile/card-gurantor-history.blade.php @@ -4,6 +4,11 @@ $card_month = array_key_exists($resource->guarantor_card_month, $months) ? $months[$resource->guarantor_card_month] : '-'; $card_year = array_key_exists($resource->guarantor_card_year, $years) ? $years[$resource->guarantor_card_year] : '-'; + + if ($resource->source === 'mobile') { + $card_month = $resource->card_month; + $card_year = $resource->card_year; + } @endphp