-
-
- $subtotal_label
- $discount_label
- $paid_to_date_label
-
-
- $subtotal
- $discount
- $paid_to_date
-
+
+
+ $subtotal_label $discount_label $total_tax_labels $line_tax_labels
+
+
+ $subtotal $discount $total_tax_values $line_tax_values
diff --git a/app/Designs/Designer.php b/app/Designs/Designer.php
index e2d28d660630..76b288257925 100644
--- a/app/Designs/Designer.php
+++ b/app/Designs/Designer.php
@@ -294,21 +294,21 @@ class Designer
private function quoteDetails(Company $company)
{
$data = [
- '$quote.quote_number' => '
$quote.number_label: $quote.number',
- '$quote.po_number' => '
$quote.po_number_label: $quote.po_number',
- '$quote.quote_date' => '
$quote.date_label: $quote.date',
- '$quote.valid_until' => '
$quote.valid_until_label: $quote.valid_until',
- '$quote.balance_due' => '
$quote.balance_due_label: $quote.balance_due',
- '$quote.quote_total' => '
$quote.total_label: $quote.total',
- '$quote.partial_due' => '
$quote.partial_due_label: $quote.partial_due',
- '$quote.custom1' => '
$quote.custom1_label: $quote.custom1',
- '$quote.custom2' => '
$quote.custom2_label: $quote.custom2',
- '$quote.custom3' => '
$quote.custom3_label: $quote.custom3',
- '$quote.custom4' => '
$quote.custom4_label: $quote.custom4',
- '$quote.surcharge1' => '
$surcharge1_label: $surcharge1',
- '$quote.surcharge2' => '
$surcharge2_label: $surcharge2',
- '$quote.surcharge3' => '
$surcharge3_label: $surcharge3',
- '$quote.surcharge4' => '
$surcharge4_label: $surcharge4',
+ '$quote.quote_number' => '
$quote.number_label: $quote.number',
+ '$quote.po_number' => '
$quote.po_number_label: $quote.po_number',
+ '$quote.quote_date' => '
$quote.date_label: $quote.date',
+ '$quote.valid_until' => '
$quote.valid_until_label: $quote.valid_until',
+ '$quote.balance_due' => '
$quote.balance_due_label: $quote.balance_due',
+ '$quote.quote_total' => '
$quote.total_label: $quote.total',
+ '$quote.partial_due' => '
$quote.partial_due_label: $quote.partial_due',
+ '$quote.custom1' => '
$quote.custom1_label: $quote.custom1',
+ '$quote.custom2' => '
$quote.custom2_label: $quote.custom2',
+ '$quote.custom3' => '
$quote.custom3_label: $quote.custom3',
+ '$quote.custom4' => '
$quote.custom4_label: $quote.custom4',
+ '$quote.surcharge1' => '
$surcharge1_label: $surcharge1',
+ '$quote.surcharge2' => '
$surcharge2_label: $surcharge2',
+ '$quote.surcharge3' => '
$surcharge3_label: $surcharge3',
+ '$quote.surcharge4' => '
$surcharge4_label: $surcharge4',
];
diff --git a/app/Designs/Elegant.php b/app/Designs/Elegant.php
index 41b502603244..c6ce44a4f02d 100644
--- a/app/Designs/Elegant.php
+++ b/app/Designs/Elegant.php
@@ -41,18 +41,13 @@ class Elegant extends AbstractDesign
public function header()
{
- return '
-
-
+ return '
+
+
$company_logo
-
-
- $entity_labels
-
-
- $entity_details
-
+
+ $entity_details
';
@@ -60,14 +55,14 @@ class Elegant extends AbstractDesign
public function body()
{
- return '
-
+ return '
+
$client_details
-
+
$company_details
-
@@ -81,10 +76,10 @@ class Elegant extends AbstractDesign