mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-01 12:54:34 -04:00
Clean logging out
This commit is contained in:
parent
3155037360
commit
5279888d6d
@ -310,8 +310,6 @@ class InvoiceSum
|
|||||||
private function getSurchargeTaxTotalForKey($key, $rate)
|
private function getSurchargeTaxTotalForKey($key, $rate)
|
||||||
{
|
{
|
||||||
|
|
||||||
nlog("in the surg");
|
|
||||||
|
|
||||||
$tax_component = 0;
|
$tax_component = 0;
|
||||||
|
|
||||||
if($this->invoice->custom_surcharge_tax1)
|
if($this->invoice->custom_surcharge_tax1)
|
||||||
@ -333,9 +331,7 @@ class InvoiceSum
|
|||||||
{
|
{
|
||||||
$tax_component += round($this->invoice->custom_surcharge4 * ($rate / 100), 2);
|
$tax_component += round($this->invoice->custom_surcharge4 * ($rate / 100), 2);
|
||||||
}
|
}
|
||||||
nlog("key = {$key}");
|
|
||||||
nlog("tax component = {$tax_component}");
|
|
||||||
|
|
||||||
return $tax_component;
|
return $tax_component;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user