configuracion de nfc y export exel

This commit is contained in:
Jose Sanchez
2023-08-08 11:01:11 -04:00
parent 79422c66b8
commit edd191b4be
8 changed files with 495 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
<?php
namespace App\Exports;
use App\Models\NfcVoucher;
use Maatwebsite\Excel\Concerns\FromCollection;
class NfcVoucherExportsCollection implements FromCollection
{
/**
* @return \Illuminate\Support\Collection
*/
public function collection()
{
return NfcVoucher::all();
}
}