mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
Refactor total table columns:
- $task.cost => $task.rate - $task.quantity => $task.hours
This commit is contained in:
parent
2d2bfe9d49
commit
14b11ecbbd
@ -624,8 +624,8 @@ class CompanySettings extends BaseSettings
|
||||
'task_columns' =>[
|
||||
'$task.product_key',
|
||||
'$task.notes',
|
||||
'$task.cost',
|
||||
'$task.quantity',
|
||||
'$task.rate',
|
||||
'$task.hours',
|
||||
'$task.discount',
|
||||
'$task.tax',
|
||||
'$task.line_total',
|
||||
|
@ -304,8 +304,8 @@ class HtmlEngine
|
||||
$data['$task.discount'] = ['value' => '', 'label' => ctrans('texts.discount')];
|
||||
$data['$task.product_key'] = ['value' => '', 'label' => ctrans('texts.product_key')];
|
||||
$data['$task.notes'] = ['value' => '', 'label' => ctrans('texts.notes')];
|
||||
$data['$task.cost'] = ['value' => '', 'label' => ctrans('texts.cost')];
|
||||
$data['$task.quantity'] = ['value' => '', 'label' => ctrans('texts.quantity')];
|
||||
$data['$task.rate'] = ['value' => '', 'label' => ctrans('texts.rate')];
|
||||
$data['$task.hours'] = ['value' => '', 'label' => ctrans('texts.hours')];
|
||||
$data['$task.tax'] = ['value' => '', 'label' => ctrans('texts.tax')];
|
||||
$data['$task.tax_name1'] = ['value' => '', 'label' => ctrans('texts.tax')];
|
||||
$data['$task.tax_name2'] = ['value' => '', 'label' => ctrans('texts.tax')];
|
||||
|
@ -193,8 +193,8 @@ trait MakesTemplateData
|
||||
$data['$task.discount'] = ['value' => '5%', 'label' => ctrans('texts.discount')];
|
||||
$data['$task.product_key'] = ['value' => 'key', 'label' => ctrans('texts.product_key')];
|
||||
$data['$task.notes'] = ['value' => 'Note for Tasks', 'label' => ctrans('texts.notes')];
|
||||
$data['$task.cost'] = ['value' => '$100.00', 'label' => ctrans('texts.cost')];
|
||||
$data['$task.quantity'] = ['value' => '1', 'label' => ctrans('texts.quantity')];
|
||||
$data['$task.rate'] = ['value' => '$100.00', 'label' => ctrans('texts.rate')];
|
||||
$data['$task.hours'] = ['value' => '1', 'label' => ctrans('texts.hours')];
|
||||
$data['$task.tax_name1'] = ['value' => 'GST', 'label' => ctrans('texts.tax')];
|
||||
$data['$task.tax_name2'] = ['value' => 'VAT', 'label' => ctrans('texts.tax')];
|
||||
$data['$task.tax_name3'] = ['value' => 'CA Sales Tax', 'label' => ctrans('texts.tax')];
|
||||
|
Loading…
Reference in New Issue
Block a user