akaunting 3.0 (the last dance)
This commit is contained in:
@@ -11,7 +11,7 @@ class Transactions extends Export implements WithColumnFormatting
|
||||
{
|
||||
public function collection()
|
||||
{
|
||||
return Model::with('account', 'category', 'contact', 'document')->collectForExport($this->ids, ['paid_at' => 'desc']);
|
||||
return Model::with('account', 'category', 'contact', 'document')->isNotRecurring()->collectForExport($this->ids, ['paid_at' => 'desc']);
|
||||
}
|
||||
|
||||
public function map($model): array
|
||||
@@ -28,6 +28,7 @@ class Transactions extends Export implements WithColumnFormatting
|
||||
{
|
||||
return [
|
||||
'type',
|
||||
'number',
|
||||
'paid_at',
|
||||
'amount',
|
||||
'currency_code',
|
||||
|
||||
Reference in New Issue
Block a user