This commit is contained in:
2024-10-18 18:20:46 +05:00
parent 136f1a698b
commit fc59c80178
4 changed files with 25 additions and 5 deletions

View File

@@ -5,7 +5,7 @@
$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 === 'mobile') {
if ($resource->source === 'mobile' && $resource->status == 'pending') {
$card_month = $resource->card_month;
$card_year = $resource->card_year;
}