<?php

    namespace App\Exports;

    use Illuminate\Database\Eloquent\Collection;
    use Maatwebsite\Excel\Concerns\FromCollection;

    class FabricExport implements FromCollection
    {

        public function collection()
        {
            return new Collection([
                [
                    'fabric',
                    'barcode',
                    'unit',
                    'sub_unit',
                    'category',
                    'cost_riel',
                    'cost_usd',
                ],
            ]);
        }
    }
