Remove primary currency from views, add some debug for #10854

This commit is contained in:
James Cole
2025-09-04 06:22:04 +02:00
parent 19e36f6f6e
commit cf76e93f31
7 changed files with 25 additions and 65 deletions

View File

@@ -176,7 +176,7 @@ class Amount
public function getSystemCurrency(): TransactionCurrency
{
return TransactionCurrency::where('code', 'EUR')->first();
return TransactionCurrency::whereNull('deleted_at')->where('code', 'EUR')->first();
}
/**