diff --git a/app/Utils/HtmlEngine.php b/app/Utils/HtmlEngine.php index ce5895a362ba..4f4c19af17ca 100644 --- a/app/Utils/HtmlEngine.php +++ b/app/Utils/HtmlEngine.php @@ -408,6 +408,8 @@ class HtmlEngine $data['$contact.last_name'] = ['value' => isset($this->contact) ? $this->contact->last_name : '', 'label' => ctrans('texts.last_name')]; + $data['$portal_button'] = ['value' => ''.ctrans('texts.view_client_portal').'', 'label' => ctrans('view_client_portal')]; + $data['$contact.portal_button'] = &$data['$portal_button']; $data['$contact.custom1'] = ['value' => isset($this->contact) ? $this->contact->custom_value1 : ' ', 'label' => $this->helpers->makeCustomField($this->company->custom_fields, 'contact1')]; $data['$contact.custom2'] = ['value' => isset($this->contact) ? $this->contact->custom_value2 : ' ', 'label' => $this->helpers->makeCustomField($this->company->custom_fields, 'contact2')]; diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 34d1c9176594..96d81d1d4b8a 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -4713,6 +4713,9 @@ $LANG = array( 'set_default_design' => 'Set Default Design', 'add_gateway_help_message' => 'Add a payment gateway (ie. Stripe, WePay or PayPal) to accept online payments', 'purchase_order_issued_to' => 'Purchase Order issued to', + 'archive_task_status' => 'Archive Task Status', + 'delete_task_status' => 'Delete Task Status', + 'restore_task_status' => 'Restore Task Status', ); return $LANG;