This commit is contained in:
David Bomba 2024-04-09 21:07:52 +10:00
parent 1c5421faff
commit ece644137a
3 changed files with 4 additions and 7 deletions

View File

@ -1 +1 @@
5.8.46
5.8.47

View File

@ -17,8 +17,8 @@ return [
'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
'app_version' => env('APP_VERSION', '5.8.46'),
'app_tag' => env('APP_TAG', '5.8.46'),
'app_version' => env('APP_VERSION', '5.8.47'),
'app_tag' => env('APP_TAG', '5.8.47'),
'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', false),

View File

@ -111,9 +111,6 @@ class InvoiceInclusiveTest extends TestCase
$this->invoice->is_amount_discount = true;
$this->invoice->line_items = $this->buildLineItems();
nlog("xxx");
nlog($this->invoice->withoutRelations()->toArray());
$calc = $this->invoice->calc();
$this->assertEquals($calc->getSubTotal(), 20);
@ -300,7 +297,7 @@ class InvoiceInclusiveTest extends TestCase
$this->invoice_calc->build();
$line_items = $this->invoice_calc->invoice_items->getLineItems();
nlog($this->invoice_calc->getTaxMap());
// nlog($this->invoice_calc->getTaxMap());
$this->assertEquals(19, $this->invoice_calc->getSubTotal());
$this->assertEquals(0.95, $this->invoice_calc->getTotalDiscount());