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