mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-05 03:04:36 -04:00
Clean up for logging
This commit is contained in:
parent
0adb908df9
commit
51fd4d3ee9
@ -145,8 +145,6 @@ class Rule extends BaseRule implements RuleInterface
|
|||||||
*/
|
*/
|
||||||
public function taxPhysical($item): self
|
public function taxPhysical($item): self
|
||||||
{
|
{
|
||||||
nlog("tax physical");
|
|
||||||
nlog($item);
|
|
||||||
$this->default($item);
|
$this->default($item);
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
@ -841,7 +841,6 @@ class Design extends BaseDesign
|
|||||||
$table_type = "product_quote_columns";
|
$table_type = "product_quote_columns";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
foreach ($items as $row) {
|
foreach ($items as $row) {
|
||||||
$element = ['element' => 'tr', 'elements' => []];
|
$element = ['element' => 'tr', 'elements' => []];
|
||||||
|
|
||||||
@ -874,8 +873,6 @@ class Design extends BaseDesign
|
|||||||
// $task.cost => $task.rate
|
// $task.cost => $task.rate
|
||||||
// $task.quantity => $task.hours
|
// $task.quantity => $task.hours
|
||||||
|
|
||||||
nlog("{$key} => {$cell}");
|
|
||||||
|
|
||||||
if ($cell == '$task.rate') {
|
if ($cell == '$task.rate') {
|
||||||
$element['elements'][] = ['element' => 'td', 'content' => $row['$task.cost'], 'properties' => ['data-ref' => 'task_table-task.cost-td']];
|
$element['elements'][] = ['element' => 'td', 'content' => $row['$task.cost'], 'properties' => ['data-ref' => 'task_table-task.cost-td']];
|
||||||
} elseif ($cell == '$product.discount' && !$this->company->enable_product_discount) {
|
} elseif ($cell == '$product.discount' && !$this->company->enable_product_discount) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user