fix transaction export

This commit is contained in:
omair saleh
2022-05-10 16:24:52 +08:00
parent 71fde21bd5
commit 28122890af
@@ -25,7 +25,7 @@ class ExportsTransactions implements FromQuery, WithHeadingRow, WithMapping
*/
public function query()
{
return Transaction::whereIn([TransactionType::PAYMENT, TransactionType::BILL]);
return Transaction::whereIn('type', [TransactionType::PAYMENT, TransactionType::BILL]);
}
/**