This commit is contained in:
2025-06-12 20:35:58 +05:00
parent 689f50e2e6
commit 9f29e13322
2 changed files with 6 additions and 6 deletions

View File

@@ -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,

View File

@@ -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);
}