changes for aliases

This commit is contained in:
= 2022-07-25 09:44:57 +10:00
parent 802490a7ee
commit 375b663425
2 changed files with 4 additions and 2 deletions

View File

@ -540,8 +540,9 @@ class HtmlEngine
/*Payment Aliases*/
$data['$paymentLink'] = &$data['$payment_link'];
$data['$payment_url'] = &$data['$payment_link'];
$data['$portalButton'] = &$data['$paymentLink'];
$data['$portalButton'] = &$data['$payment_link'];
$data['$portal_button'] = &$data['$payment_link'];
$data['$dir'] = ['value' => in_array(optional($this->client->language())->locale, ['ar', 'he']) ? 'rtl' : 'ltr', 'label' => ''];
$data['$dir_text_align'] = ['value' => in_array(optional($this->client->language())->locale, ['ar', 'he']) ? 'right' : 'left', 'label' => ''];

View File

@ -4728,6 +4728,7 @@ $LANG = array(
'received' => 'Received',
'converted_to_expense' => 'Successfully converted to expense',
'converted_to_expenses' => 'Successfully converted to expenses',
'entity_removed' => 'This document has been removed, please contact the vendor for further information',
);
return $LANG;