From 8569582c4e61a9bb40273ee18c5ac158132d7768 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Fri, 18 Oct 2024 17:35:21 +0500 Subject: [PATCH] card history --- resources/views/orders/loan/mobile/card-history.blade.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/views/orders/loan/mobile/card-history.blade.php b/resources/views/orders/loan/mobile/card-history.blade.php index 15b7a0d..3d8b1a1 100644 --- a/resources/views/orders/loan/mobile/card-history.blade.php +++ b/resources/views/orders/loan/mobile/card-history.blade.php @@ -4,6 +4,11 @@ $card_month = array_key_exists($resource->card_month, $months) ? $months[$resource->card_month] : '-'; $card_year = array_key_exists($resource->card_year, $years) ? $years[$resource->card_year] : '-'; + + if ($resource->source === OrderRepo::MOBILE_DEVICE) { + $card_month = $resource->card_month; + $card_year = $resource->card_year; + } @endphp