This commit is contained in:
nurmuhammet committed 2025-10-28 21:37:38 +05:00
1 parent 989334db0a
commit ece23e01f2
1 file changed
+7 -1
@@ -4,6 +4,7 @@
use App\Modules\Card\Models\Card;
use App\Modules\Makeable;
use Filament\Notifications\Notification;
use Illuminate\Queue\Events\JobRetryRequested;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\Blade;
@@ -42,7 +43,12 @@ public function downloadCardTransaction(array $data, Card $record, Component $li
: emptyClass(errCode: 1, message: 'Connection issue to VP');
if ($response->errCode != 0) {
return view('module.card-transaction::error-response', ['data' => $response]);
Notification::make()
->danger()
->title($response->message)
->send();
return;
}
$url = $this->handleFiles($record, $response);