mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Merge pull request #4909 from beganovich/v5-1502-alias-task-as-service
(v5) PDF: Alias task.product key for task.service
This commit is contained in:
commit
5f443116f3
@ -305,6 +305,7 @@ class Design extends BaseDesign
|
||||
// Some of column can be aliased. This is simple workaround for these.
|
||||
$aliases = [
|
||||
'$product.product_key' => '$product.item',
|
||||
'$task.product_key' => '$task.service',
|
||||
];
|
||||
|
||||
foreach ($this->context['pdf_variables']["{$type}_columns"] as $column) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user