Actualizacion de Diseño Logins y Parte de Registro Negocios
This commit is contained in:
17
desarrollo/app/Exports/NfcVoucherExportsCollection.php
Normal file
17
desarrollo/app/Exports/NfcVoucherExportsCollection.php
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user