wip
This commit is contained in:
@@ -104,8 +104,6 @@ class CardTransactionsController extends Controller
|
|||||||
|
|
||||||
$response = vp_fetch_ClientInfoAll($order, $start_date, $end_date);
|
$response = vp_fetch_ClientInfoAll($order, $start_date, $end_date);
|
||||||
|
|
||||||
info([$response]);
|
|
||||||
|
|
||||||
if ($response->errCode != 0) {
|
if ($response->errCode != 0) {
|
||||||
return response()->json([
|
return response()->json([
|
||||||
'status' => false,
|
'status' => false,
|
||||||
|
|||||||
@@ -183,6 +183,7 @@ class DownloadCardTransaction extends Action
|
|||||||
'type' => gettype($data),
|
'type' => gettype($data),
|
||||||
'tr' => gettype($data->transactions),
|
'tr' => gettype($data->transactions),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if (count($data->transactions) < 1) {
|
if (count($data->transactions) < 1) {
|
||||||
return emptyClass(basdakyGalyndy: 0, ahyrkyGalyndy: 0, girdeji: 0, cykdajy: 0);
|
return emptyClass(basdakyGalyndy: 0, ahyrkyGalyndy: 0, girdeji: 0, cykdajy: 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user