This commit is contained in:
2025-10-29 00:43:12 +05:00
parent cadda739f8
commit 3fe38d5e26
2 changed files with 5 additions and 3 deletions

View File

@@ -9,14 +9,16 @@ use Filament\Notifications\Notification;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Str;
use Livewire\Component;
use PhpOffice\PhpWord\TemplateProcessor;
class CardRequisiteRepository
{
use Makeable;
public function downloadCardRequisite(Card $record, Component $livewire): ?\Symfony\Component\HttpFoundation\BinaryFileResponse
/**
* Download card requisite
*/
public function downloadCardRequisite(Card $record): ?\Symfony\Component\HttpFoundation\BinaryFileResponse
{
/** @var \App\Modules\CardTransaction\Types\CardTransactionResponse */
$response = $this->fetchApi($record);