diff --git a/app/Models/Company.php b/app/Models/Company.php index a0d9fddbb..bf87820b1 100644 --- a/app/Models/Company.php +++ b/app/Models/Company.php @@ -217,7 +217,7 @@ public function setupDefaultSettings() 'estimate_billing_address_format' => $billingAddressFormat, 'payment_company_address_format' => $companyAddressFormat, 'payment_from_customer_address_format' => $paymentFromCustomerAddress, - 'currency' => request()->currency ?? 1, + 'currency' => request()->currency ?? 13, 'time_zone' => 'Asia/Kolkata', 'language' => 'en', 'fiscal_year' => '1-12', diff --git a/tests/Unit/InvoiceTest.php b/tests/Unit/InvoiceTest.php index 49ba8fa77..30237534a 100644 --- a/tests/Unit/InvoiceTest.php +++ b/tests/Unit/InvoiceTest.php @@ -47,7 +47,7 @@ $status = $invoice->getPreviousStatus(); - $this->assertEquals('OVERDUE', $status); + $this->assertEquals('DRAFT', $status); });