akaunting 3.0 (the last dance)
This commit is contained in:
24
app/Exports/Settings/Taxes.php
Normal file
24
app/Exports/Settings/Taxes.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\Settings;
|
||||
|
||||
use App\Abstracts\Export;
|
||||
use App\Models\Setting\Tax as Model;
|
||||
|
||||
class Taxes extends Export
|
||||
{
|
||||
public function collection()
|
||||
{
|
||||
return Model::collectForExport($this->ids);
|
||||
}
|
||||
|
||||
public function fields(): array
|
||||
{
|
||||
return [
|
||||
'name',
|
||||
'type',
|
||||
'rate',
|
||||
'enabled',
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user