mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
v5.8.47
This commit is contained in:
parent
1c5421faff
commit
ece644137a
@ -1 +1 @@
|
||||
5.8.46
|
||||
5.8.47
|
@ -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),
|
||||
|
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user