Initial commit: Struktur aplikasi ilycats
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports;
|
||||
|
||||
use Maatwebsite\Excel\Concerns\WithHeadings;
|
||||
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
|
||||
|
||||
class SupplyTemplateExport implements WithHeadings, ShouldAutoSize
|
||||
{
|
||||
/**
|
||||
* Mendefinisikan judul kolom untuk template.
|
||||
* * @return array
|
||||
*/
|
||||
public function headings(): array
|
||||
{
|
||||
return [
|
||||
'nama_perlengkapan',
|
||||
'qty',
|
||||
'unit',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user