This commit is contained in:
2025-06-12 20:35:06 +05:00
parent 96a949f421
commit 689f50e2e6
2 changed files with 1 additions and 2 deletions

View File

@@ -104,8 +104,6 @@ class CardTransactionsController extends Controller
$response = vp_fetch_ClientInfoAll($order, $start_date, $end_date);
info([$response]);
if ($response->errCode != 0) {
return response()->json([
'status' => false,

View File

@@ -183,6 +183,7 @@ class DownloadCardTransaction extends Action
'type' => gettype($data),
'tr' => gettype($data->transactions),
]);
if (count($data->transactions) < 1) {
return emptyClass(basdakyGalyndy: 0, ahyrkyGalyndy: 0, girdeji: 0, cykdajy: 0);
}