From 2796fafd5b2e04599c83de00506ee099ff7c22ab Mon Sep 17 00:00:00 2001 From: omair saleh Date: Thu, 28 Apr 2022 11:36:58 +0800 Subject: [PATCH] update transaction export --- app/Classes/Modules/Exports/Services/ExportsTransactions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Modules/Exports/Services/ExportsTransactions.php b/app/Classes/Modules/Exports/Services/ExportsTransactions.php index c4bc2220..f6b85b52 100644 --- a/app/Classes/Modules/Exports/Services/ExportsTransactions.php +++ b/app/Classes/Modules/Exports/Services/ExportsTransactions.php @@ -25,7 +25,7 @@ class ExportsTransactions implements FromQuery, WithHeadingRow, WithMapping */ public function query() { - return Transaction::query(); + return Transaction::where('type', TransactionType::BILL); } /**