From 99bfadc0dce96b3bcab92bf358899e24b0985bf7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?=
Date: Tue, 27 Oct 2020 14:44:12 +0100
Subject: [PATCH] Remove old designs & old bootstrap theme
---
app/Designs/AbstractDesign.php | 27 --
app/Designs/Bold.php | 141 -------
app/Designs/Business.php | 149 -------
app/Designs/Clean.php | 150 -------
app/Designs/Creative.php | 128 ------
app/Designs/Custom.php | 46 --
app/Designs/Designer.php | 396 ------------------
app/Designs/Elegant.php | 144 -------
app/Designs/Hipster.php | 153 -------
app/Designs/Modern.php | 151 -------
app/Designs/Photo.php | 154 -------
app/Designs/Plain.php | 131 ------
app/Designs/Playful.php | 143 -------
.../views/portal/default/auth/login.blade.php | 103 -----
.../default/auth/passwords/email.blade.php | 51 ---
.../default/auth/passwords/reset.blade.php | 71 ----
.../portal/default/client/edit.blade.php | 160 -------
.../portal/default/dashboard/index.blade.php | 109 -----
.../portal/default/flash-message.blade.php | 40 --
.../views/portal/default/footer.blade.php | 18 -
.../default/gateways/authorize.blade.php | 27 --
.../portal/default/gateways/pay_now.blade.php | 71 ----
.../gateways/stripe/add_credit_card.blade.php | 139 ------
.../gateways/stripe/credit_card.blade.php | 174 --------
.../views/portal/default/header.blade.php | 61 ---
.../portal/default/invoices/index.blade.php | 271 ------------
.../portal/default/invoices/payment.blade.php | 222 ----------
.../portal/default/invoices/show.blade.php | 46 --
.../portal/default/layouts/guest.blade.php | 47 ---
.../portal/default/layouts/master.blade.php | 71 ----
.../default/payment_methods/index.blade.php | 92 ----
.../default/payment_methods/show.blade.php | 67 ---
.../portal/default/payments/index.blade.php | 82 ----
.../portal/default/payments/show.blade.php | 43 --
.../profile/client_information.blade.php | 135 ------
.../profile/client_localization.blade.php | 35 --
.../portal/default/profile/index.blade.php | 68 ---
.../recurring_invoices/index.blade.php | 82 ----
.../request_cancellation.blade.php | 43 --
.../default/recurring_invoices/show.blade.php | 70 ----
.../views/portal/default/sidebar.blade.php | 15 -
41 files changed, 4326 deletions(-)
delete mode 100644 app/Designs/AbstractDesign.php
delete mode 100644 app/Designs/Bold.php
delete mode 100644 app/Designs/Business.php
delete mode 100644 app/Designs/Clean.php
delete mode 100644 app/Designs/Creative.php
delete mode 100644 app/Designs/Custom.php
delete mode 100644 app/Designs/Designer.php
delete mode 100644 app/Designs/Elegant.php
delete mode 100644 app/Designs/Hipster.php
delete mode 100644 app/Designs/Modern.php
delete mode 100644 app/Designs/Photo.php
delete mode 100644 app/Designs/Plain.php
delete mode 100644 app/Designs/Playful.php
delete mode 100644 resources/views/portal/default/auth/login.blade.php
delete mode 100644 resources/views/portal/default/auth/passwords/email.blade.php
delete mode 100644 resources/views/portal/default/auth/passwords/reset.blade.php
delete mode 100644 resources/views/portal/default/client/edit.blade.php
delete mode 100644 resources/views/portal/default/dashboard/index.blade.php
delete mode 100644 resources/views/portal/default/flash-message.blade.php
delete mode 100644 resources/views/portal/default/footer.blade.php
delete mode 100644 resources/views/portal/default/gateways/authorize.blade.php
delete mode 100644 resources/views/portal/default/gateways/pay_now.blade.php
delete mode 100644 resources/views/portal/default/gateways/stripe/add_credit_card.blade.php
delete mode 100644 resources/views/portal/default/gateways/stripe/credit_card.blade.php
delete mode 100644 resources/views/portal/default/header.blade.php
delete mode 100644 resources/views/portal/default/invoices/index.blade.php
delete mode 100644 resources/views/portal/default/invoices/payment.blade.php
delete mode 100644 resources/views/portal/default/invoices/show.blade.php
delete mode 100644 resources/views/portal/default/layouts/guest.blade.php
delete mode 100644 resources/views/portal/default/layouts/master.blade.php
delete mode 100644 resources/views/portal/default/payment_methods/index.blade.php
delete mode 100644 resources/views/portal/default/payment_methods/show.blade.php
delete mode 100644 resources/views/portal/default/payments/index.blade.php
delete mode 100644 resources/views/portal/default/payments/show.blade.php
delete mode 100644 resources/views/portal/default/profile/client_information.blade.php
delete mode 100644 resources/views/portal/default/profile/client_localization.blade.php
delete mode 100644 resources/views/portal/default/profile/index.blade.php
delete mode 100644 resources/views/portal/default/recurring_invoices/index.blade.php
delete mode 100644 resources/views/portal/default/recurring_invoices/request_cancellation.blade.php
delete mode 100644 resources/views/portal/default/recurring_invoices/show.blade.php
delete mode 100644 resources/views/portal/default/sidebar.blade.php
diff --git a/app/Designs/AbstractDesign.php b/app/Designs/AbstractDesign.php
deleted file mode 100644
index 1f56ae33437e..000000000000
--- a/app/Designs/AbstractDesign.php
+++ /dev/null
@@ -1,27 +0,0 @@
-$number
-
-
-
-
-';
- }
-
- public function header()
- {
- return '
-
-
-
- $company_details
-
-
- $company_address
-
-
-
';
- }
-
- public function body()
- {
- return '
-
-
-
$entity_label
-
$client_details
-
-
-
-
-
-
-
-
- $product_table_header
-
-
- $product_table_body
-
-
-
-
- $task_table_header
-
-
- $task_table_body
-
-
-
-
-
- $entity.public_notes
-
-
-
- $subtotal_label $discount_label $total_tax_labels $line_tax_labels
-
-
- $subtotal $discount $total_tax_values $line_tax_values
-
-
-
-
-
-
-
$terms_label
- $terms
-
-
-
- $balance_due_label
-
-
- $balance_due
-
-
-
-';
- }
-
- public function task()
- {
- return '';
- }
-
- public function product()
- {
- return '';
- }
-
- public function footer()
- {
- return '
-';
- }
-}
diff --git a/app/Designs/Business.php b/app/Designs/Business.php
deleted file mode 100644
index 445f4ea44d0d..000000000000
--- a/app/Designs/Business.php
+++ /dev/null
@@ -1,149 +0,0 @@
-$number
-
-
-
-
-
-';
- }
-
- public function header()
- {
- return '
-
-
- $company_logo
-
-
- $company_details
-
-
- $company_address
-
-
';
- }
-
- public function body()
- {
- return '
-
- $client_details
-
-
-
-
-
-
- $product_table_header
-
-
- $product_table_body
-
-
-
-
- $task_table_header
-
-
- $task_table_body
-
-
-
-
-
-
-
- $discount_label
- $total_tax_labels
- $line_tax_labels
-
-
- $discount
- $total_tax_values
- $line_tax_values
-
-
-
-
-
-
-
-
$terms_label
-
$terms
-
-
-
-
- $balance_due_label
- $balance_due
-
-
-
-
';
- }
-
- public function task()
- {
- return '';
- }
-
- public function product()
- {
- return '';
- }
-
- public function footer()
- {
- return '
-';
- }
-}
diff --git a/app/Designs/Clean.php b/app/Designs/Clean.php
deleted file mode 100644
index 551076160a44..000000000000
--- a/app/Designs/Clean.php
+++ /dev/null
@@ -1,150 +0,0 @@
-$number
-
-
-
-
-';
- }
-
- public function header()
- {
- return '
-
-
-
-
- $company_details
-
-
- $company_address
-
-
-
';
- }
-
- public function body()
- {
- return '
- $entity_label
-
-
-
-
-
-
-
- $entity_labels
-
-
- $entity_details
-
-
- $client_details
-
-
-
-
-
-
- $product_table_header
-
-
- $product_table_body
-
-
-
-
- $task_table_header
-
-
- $task_table_body
-
-
-
-
- $entity.public_notes
-
-
-
- $discount_label
- $total_tax_labels
- $line_tax_labels
-
-
- $discount
- $total_tax_values
- $line_tax_values
-
-
-
-
-
-
-
$terms_label
- $terms
-
-
-
- $balance_due_label
-
-
- $balance_due
-
-
-
-
';
- }
-
- public function task()
- {
- return '';
- }
-
- public function product()
- {
- return '';
- }
-
- public function footer()
- {
- return '
-';
- }
-}
diff --git a/app/Designs/Creative.php b/app/Designs/Creative.php
deleted file mode 100644
index 1b35a25794f8..000000000000
--- a/app/Designs/Creative.php
+++ /dev/null
@@ -1,128 +0,0 @@
-$number
-
-
-
-
-';
- }
-
- public function header()
- {
- return '
-
-
$client_details
-
$company_details
-
$company_address
-
$company_logo
-
';
- }
-
- public function body()
- {
- return '
-
-
-
- $product_table_header
-
-
- $product_table_body
-
-
-
-
- $task_table_header
-
-
- $task_table_body
-
-
-
-
-
-
-
- $subtotal_label $discount_label $total_tax_labels $line_tax_labels
-
-
- $subtotal $discount $total_tax_values $line_tax_values
-
-
-
-
-
-
-
$balance_due_label
-
$balance
-
-
';
- }
-
- public function task()
- {
- return '';
- }
-
- public function product()
- {
- return '';
- }
-
- public function footer()
- {
- return '
-';
- }
-}
diff --git a/app/Designs/Custom.php b/app/Designs/Custom.php
deleted file mode 100644
index 38b600991548..000000000000
--- a/app/Designs/Custom.php
+++ /dev/null
@@ -1,46 +0,0 @@
-name = $design->name;
-
- $this->includes = $design->design->includes;
-
- $this->header = $design->design->header;
-
- $this->body = $design->design->body;
-
- $this->product = $design->design->product;
-
- $this->task = $design->design->task;
-
- $this->footer = $design->design->footer;
- }
-}
diff --git a/app/Designs/Designer.php b/app/Designs/Designer.php
deleted file mode 100644
index 14510e3777a8..000000000000
--- a/app/Designs/Designer.php
+++ /dev/null
@@ -1,396 +0,0 @@
-entity = $entity;
-
- $this->design = $design->design;
-
- $this->input_variables = json_decode(json_encode($input_variables), 1);
-
- $this->entity_string = $entity_string;
- }
-
- /**
- * Returns the design
- * formatted HTML.
- * @return string The HTML design built
- */
- public function build():self
- {
- $this->setHtml()
- ->exportVariables()
- ->setDesign($this->getSection('includes'))
- ->setDesign($this->getSection('header'))
- ->setDesign($this->getSection('body'))
- ->setDesign($this->getSection('footer'));
-
- return $this;
- }
-
- public function init()
- {
- $this->setHtml()
- ->exportVariables();
-
- return $this;
- }
-
- public function getIncludes()
- {
- return $this->getSection('includes');
- }
-
- public function getHeader()
- {
- return $this->getSection('header');
- }
-
- public function getFooter()
- {
- $div = '
- %s
-
- %s
- %s
-
';
-
- $signature = '
';
- $logo = '';
-
- if (! $this->entity->user->account->isPaid()) {
- $logo = '
';
- }
-
- return sprintf($div, $this->getSection('footer'), $signature, $logo);
- }
-
- public function getBody()
- {
- return $this->getSection('body');
- }
-
- public function getHtml():string
- {
- return $this->html;
- }
-
- public function setHtml()
- {
- $this->html = '';
-
- return $this;
- }
-
- private function setDesign($section)
- {
- $this->html .= $section;
-
- return $this;
- }
-
- /**
- * Returns the template section on with the
- * stacked variables replaced with single variables.
- *
- * @param string $section the method name to be executed ie header/body/table/footer
- * @return string The HTML of the template section
- */
- public function getSection($section):string
- {
- return strtr($this->design->{$section}, $this->exported_variables);
- // return str_replace(array_keys($this->exported_variables), array_values($this->exported_variables), $this->design->{$section});
- }
-
- private function exportVariables()
- {
- //$s = microtime(true);
- $company = $this->entity->company;
-
- $this->exported_variables['$custom_css'] = $this->entity->generateCustomCSS();
- $this->exported_variables['$app_url'] = $this->entity->generateAppUrl();
- $this->exported_variables['$client_details'] = $this->processVariables($this->input_variables['client_details'], $this->clientDetails($company));
- $this->exported_variables['$company_details'] = $this->processVariables($this->input_variables['company_details'], $this->companyDetails($company));
- $this->exported_variables['$company_address'] = $this->processVariables($this->input_variables['company_address'], $this->companyAddress($company));
-
- if ($this->entity_string == 'invoice') {
- //$this->exported_variables['$entity_labels'] = $this->processLabels($this->input_variables['invoice_details'], $this->invoiceDetails($company));
- $this->exported_variables['$entity_details'] = $this->processVariables($this->input_variables['invoice_details'], $this->invoiceDetails($company));
- } elseif ($this->entity_string == 'credit') {
- //$this->exported_variables['$entity_labels'] = $this->processLabels($this->input_variables['credit_details'], $this->creditDetails($company));
- $this->exported_variables['$entity_details'] = $this->processVariables($this->input_variables['credit_details'], $this->creditDetails($company));
- } elseif ($this->entity_string == 'quote') {
- //$this->exported_variables['$entity_labels'] = $this->processLabels($this->input_variables['quote_details'], $this->quoteDetails($company));
- $this->exported_variables['$entity_details'] = $this->processVariables($this->input_variables['quote_details'], $this->quoteDetails($company));
- } else {
- $this->exported_variables['$entity_details'] = $this->processVariables($this->input_variables['invoice_details'], $this->quoteDetails($company));
- }
-
- $this->exported_variables['$product_table_header'] = $this->entity->buildTableHeader($this->input_variables['product_columns']);
- $this->exported_variables['$product_table_body'] = $this->entity->buildTableBody($this->input_variables['product_columns'], $this->design->product, '$product');
- $this->exported_variables['$task_table_header'] = $this->entity->buildTableHeader($this->input_variables['task_columns']);
- $this->exported_variables['$task_table_body'] = $this->entity->buildTableBody($this->input_variables['task_columns'], $this->design->task, '$task');
-
- if (strlen($this->exported_variables['$task_table_body']) == 0) {
- $this->exported_variables['$task_table_header'] = '';
- }
-
- if (strlen($this->exported_variables['$product_table_body']) == 0) {
- $this->exported_variables['$product_table_header'] = '';
- }
-
- return $this;
- }
-
- private function processVariables($input_variables, $variables):string
- {
- $output = '';
-
- foreach (array_values($input_variables) as $value) {
- if (array_key_exists($value, $variables)) {
- $output .= $variables[$value];
- }
- }
-
- return $output;
- }
-
- private function processLabels($input_variables, $variables):string
- {
- $output = '';
-
- foreach (array_keys($input_variables) as $value) {
- if (array_key_exists($value, $variables)) {
- //$tmp = str_replace("", "_label", $variables[$value]);
- $tmp = strtr($variables[$value], '', '_label');
- $output .= $tmp;
- }
- }
-
- return $output;
- }
-
- private function clientDetails(Company $company)
- {
- $data = [
- '$client.name' => '$client.name
',
- '$client.id_number' => '$client.id_number
',
- '$client.vat_number' => '$client.vat_number
',
- '$client.address1' => '$client.address1
',
- '$client.address2' => '$client.address2
',
- '$client.city_state_postal' => '$client.city_state_postal
',
- '$client.postal_city_state' => '$client.postal_city_state
',
- '$client.country' => '$client.country
',
- '$contact.email' => '$client.email
',
- '$client.custom1' => '$client.custom1
',
- '$client.custom2' => '$client.custom2
',
- '$client.custom3' => '$client.custom3
',
- '$client.custom4' => '$client.custom4
',
- '$contact.contact1' => '$contact.custom1
',
- '$contact.contact2' => '$contact.custom2
',
- '$contact.contact3' => '$contact.custom3
',
- '$contact.contact4' => '$contact.custom4
',
- ];
-
- return $this->processCustomFields($company, $data);
- }
-
- private function companyDetails(Company $company)
- {
- $data = [
- '$company.name' => '$company.name',
- '$company.id_number' => '$company.id_number',
- '$company.vat_number' => '$company.vat_number',
- '$company.website' => '$company.website',
- '$company.email' => '$company.email',
- '$company.phone' => '$company.phone',
- '$company.company1' => '$company1',
- '$company.company2' => '$company2',
- '$company.company3' => '$company3',
- '$company.company4' => '$company4',
- ];
-
- return $this->processCustomFields($company, $data);
- }
-
- private function companyAddress(Company $company)
- {
- $data = [
- '$company.address1' => '$company.address1',
- '$company.address2' => '$company.address2',
- '$company.city_state_postal' => '$company.city_state_postal',
- '$company.postal_city_state' => '$company.postal_city_state',
- '$company.country' => '$company.country',
- '$company.company1' => '$company1',
- '$company.company2' => '$company2',
- '$company.company3' => '$company3',
- '$company.company4' => '$company4',
- ];
-
- return $this->processCustomFields($company, $data);
- }
-
- private function invoiceDetails(Company $company)
- {
- $data = [
- '$invoice.number' => '$invoice.number_label: $invoice.number',
- '$invoice.po_number' => '$invoice.po_number_label: $invoice.po_number',
- '$invoice.date' => '$invoice.date_label: $invoice.date',
- '$invoice.due_date' => '$invoice.due_date_label: $invoice.due_date',
- '$invoice.balance_due' => '$invoice.balance_due_label: $invoice.balance_due',
- '$invoice.total' => '$invoice.total_label: $invoice.total',
- '$invoice.partial_due' => '$invoice.partial_due_label: $invoice.partial_due',
- '$invoice.custom1' => '$invoice1_label: $invoice.custom1',
- '$invoice.custom2' => '$invoice2_label: $invoice.custom2',
- '$invoice.custom3' => '$invoice3_label: $invoice.custom3',
- '$invoice.custom4' => '$invoice4_label: $invoice.custom4',
- '$surcharge1' => '$surcharge1_label: $surcharge1',
- '$surcharge2' => '$surcharge2_label: $surcharge2',
- '$surcharge3' => '$surcharge3_label: $surcharge3',
- '$surcharge4' => '$surcharge4_label: $surcharge4',
-
- ];
-
- return $this->processCustomFields($company, $data);
- }
-
- 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',
-
- ];
-
- return $this->processCustomFields($company, $data);
- }
-
- private function creditDetails(Company $company)
- {
- $data = [
- '$credit.number' => '$credit.number_label$credit.number',
- '$credit.po_number' => '$credit.po_number_label$credit.po_number',
- '$credit.date' => '$credit.date_label$credit.date',
- '$credit.balance' => '$credit.balance_label$credit.balance',
- '$credit.total' => '$credit.total_label$credit.total',
- '$credit.partial_due' => '$credit.partial_due_label$credit.partial_due',
- '$credit.custom1' => '$credit.custom1_label$credit.custom1',
- '$credit.custom2' => '$credit.custom2_label$credit.custom2',
- '$credit.custom3' => '$credit.custom3_label$credit.custom3',
- '$credit.custom4' => '$credit.custom4_label$credit.custom4',
- '$credit.surcharge1' => '$surcharge1_label$surcharge1_label: $surcharge1',
- '$credit.surcharge2' => '$surcharge2_label$surcharge2_label: $surcharge2',
- '$credit.surcharge3' => '$surcharge3_label$surcharge3_label: $surcharge3',
- '$credit.surcharge4' => '$surcharge4_label$surcharge4_label: $surcharge4',
-
- ];
-
- return $this->processCustomFields($company, $data);
- }
-
- private function processCustomFields(Company $company, $data)
- {
- $custom_fields = $company->custom_fields;
-
- if (! $custom_fields) {
- return $data;
- }
-
- foreach (self::$custom_fields as $cf) {
- if (! property_exists($custom_fields, $cf) || (strlen($custom_fields->{$cf}) == 0)) {
- unset($data[$cf]);
- }
- }
-
- return $data;
- }
-
- // private function processInputVariables($company, $variables)
- // {
- // if(is_object($variables))
- // $variables = json_decode(json_encode($variables),true);
-
- // $custom_fields = $company->custom_fields;
-
- // $matches = array_intersect(self::$custom_fields, $variables);
-
- // foreach ($matches as $match) {
-
- // if (!property_exists($custom_fields, $match) || (strlen($custom_fields->{$match}) == 0)) {
- // foreach ($variables as $key => $value) {
- // if ($value == $match) {
- // unset($variables[$key]);
- // }
- // }
- // }
-
- // }
-
- // return $variables;
-
- // }
-}
diff --git a/app/Designs/Elegant.php b/app/Designs/Elegant.php
deleted file mode 100644
index d2b3e18a7889..000000000000
--- a/app/Designs/Elegant.php
+++ /dev/null
@@ -1,144 +0,0 @@
-$number
-
-
-
-
-';
- }
-
- public function header()
- {
- return '
-
-
- $company_logo
-
-
- $entity_details
-
-
-
';
- }
-
- public function body()
- {
- return '
-
- $client_details
-
-
- $company_details
-
-
- $company_address
-
-
-
-
- $product_table_header
-
-
- $product_table_body
-
-
-
-
- $task_table_header
-
-
- $task_table_body
-
-
-
-
-
-
-
- $discount_label
- $total_tax_labels
- $line_tax_labels
-
-
- $discount
- $total_tax_values
- $line_tax_values
-
-
-
-
-
-
-
-
$terms_label
-
$terms
-
-
-
-
- $balance_due_label
- $balance
-
-
-
-
-
Thanks
-
-
-
';
- }
-
- public function task()
- {
- return '';
- }
-
- public function product()
- {
- return '';
- }
-
- public function footer()
- {
- return '
-';
- }
-}
diff --git a/app/Designs/Hipster.php b/app/Designs/Hipster.php
deleted file mode 100644
index ac71ee633f34..000000000000
--- a/app/Designs/Hipster.php
+++ /dev/null
@@ -1,153 +0,0 @@
-$number
-
-
-
-
-';
- }
-
- public function header()
- {
- return '
-
-
-
From:
-
-
- $company_details
-
-
- $company_address
-
-
-
-
-
To:
- $client_details
-
-
- $company_logo
-
-
';
- }
-
- public function body()
- {
- return '
-
$entity_label
-
-
$entity_number
-
- $date_label
- $date
-
-
- $due_date_label
- $due_date
-
-
- $balance_due_label
- $balance_due
-
-
-
-
-
- $product_table_header
-
-
- $product_table_body
-
-
-
-
- $task_table_header
-
-
- $task_table_body
-
-
-
-
-
-
$entity.public_notes
-
-
$terms_label
-
$terms
-
-
-
-
-
-
- $discount_label
- $total_tax_labels
- $line_tax_labels
-
-
- $discount
- $total_tax_values
- $line_tax_values
-
-
-
- $balance_due_label
- $balance_due
-
-
-
-
';
- }
-
- public function task()
- {
- return '';
- }
-
- public function product()
- {
- return '';
- }
-
- public function footer()
- {
- return '
-';
- }
-}
diff --git a/app/Designs/Modern.php b/app/Designs/Modern.php
deleted file mode 100644
index 411fd1a34546..000000000000
--- a/app/Designs/Modern.php
+++ /dev/null
@@ -1,151 +0,0 @@
-$number
-
-
-
-
-
-
-';
- }
-
- public function header()
- {
- return '
-';
- }
-
- public function body()
- {
- return '
- |
-
-
-
- $company_logo
-
-
- $client_details
-
-
-
-
-
-
-
- $product_table_body
-
-
-
-
-
- $task_table_body
-
-
-
-
- $entity.public_notes
-
-
-
- $discount_label
- $total_tax_labels
- $line_tax_labels
-
-
- $discount
- $total_tax_values
- $line_tax_values
-
-
-
-
-
-
- $terms_label
- $terms
-
-
-
-
-
-
- |
|
-';
- }
-
- public function task()
- {
- return '';
- }
-
- public function product()
- {
- return '';
- }
-
- public function footer()
- {
- return '
-';
- }
-}
diff --git a/app/Designs/Photo.php b/app/Designs/Photo.php
deleted file mode 100644
index 264c08bc741f..000000000000
--- a/app/Designs/Photo.php
+++ /dev/null
@@ -1,154 +0,0 @@
-$number
-
-
-
-
-';
- }
-
- public function header()
- {
- return '';
- }
-
- public function body()
- {
- return '
-
-
-
$to_label:
-
- $client_details
-
-
-
-
$from_label:
-
- $company_details
-
-
-
-
-
-
-
- $product_table_header
-
-
- $product_table_body
-
-
-
-
- $task_table_header
-
-
- $task_table_body
-
-
-
-
-
-
-
- $discount_label
- $total_tax_labels
- $line_tax_labels
-
-
- $discount
- $total_tax_values
- $line_tax_values
-
-
-
-
-
-
-
-
$terms_label
-
$terms
-
-
-
-
- $balance_due_label
- $balance_due
-
-
-
-
-
-';
- }
-
- public function task()
- {
- return '';
- }
-
- public function product()
- {
- return '';
- }
-
- public function footer()
- {
- return '
-';
- }
-}
diff --git a/app/Designs/Plain.php b/app/Designs/Plain.php
deleted file mode 100644
index 016620a7f38a..000000000000
--- a/app/Designs/Plain.php
+++ /dev/null
@@ -1,131 +0,0 @@
-$number
-
-
-
-
-';
- }
-
- public function header()
- {
- return '
-
-
- $company_logo
-
-
- $company_details
-
-
- $entity_details
-
-
';
- }
-
- public function body()
- {
- return '
- $client_details
-
-
-
- $product_table_header
-
-
- $product_table_body
-
-
-
-
- $task_table_header
-
-
- $task_table_body
-
-
-
-
-
-
-
$entity.public_notes
-
-
$terms_label
-
$terms
-
-
-
-
-
-
- $discount_label
- $total_tax_labels
- $line_tax_labels
-
-
- $discount
- $total_tax_values
- $line_tax_values
-
-
-
-
- $balance_due_label
-
-
- $balance_due
-
-
-
-
-
-';
- }
-}
diff --git a/app/Designs/Playful.php b/app/Designs/Playful.php
deleted file mode 100644
index 573f6655fff0..000000000000
--- a/app/Designs/Playful.php
+++ /dev/null
@@ -1,143 +0,0 @@
-$number
-
-
-
-
-';
- }
-
- public function header()
- {
- return '
-
';
- }
-
- public function body()
- {
- return '
-
-
- $product_table_header
-
-
- $product_table_body
-
-
-
-
- $task_table_header
-
-
- $task_table_body
-
-
-
-
- $entity.public_notes
-
-
-
- $discount_label
- $total_tax_labels
- $line_tax_labels
-
-
- $discount
- $total_tax_values
- $line_tax_values
-
-
-
-
$terms_label
-
$terms
-
-
-
-
$balance_due_label
-
$balance_due
-
-
-
';
- }
-
- public function task()
- {
- return '';
- }
-
- public function product()
- {
- return '';
- }
-
- public function footer()
- {
- return '
-
';
- }
-}
diff --git a/resources/views/portal/default/auth/login.blade.php b/resources/views/portal/default/auth/login.blade.php
deleted file mode 100644
index 569a1a401731..000000000000
--- a/resources/views/portal/default/auth/login.blade.php
+++ /dev/null
@@ -1,103 +0,0 @@
-@extends('portal.default.layouts.guest')
-
-@section('body')
-
-
-
-
-
-
-
- @if (session('info'))
-
-
-
-
- {{ session('info') }}
-
-
-
- @elseif (session('error'))
-
-
-
-
- {{ session('error') }}
-
-
-
- @endif
-
-
-
- @env('hosted')
-
- @endenv
-
-
-
-
-
-@endsection
-
-
diff --git a/resources/views/portal/default/auth/passwords/email.blade.php b/resources/views/portal/default/auth/passwords/email.blade.php
deleted file mode 100644
index b3678ab72399..000000000000
--- a/resources/views/portal/default/auth/passwords/email.blade.php
+++ /dev/null
@@ -1,51 +0,0 @@
-@extends('portal.default.layouts.guest')
-
-@section('body')
-
-
-
-
-
-
-
- @if (session('status'))
-
- {{ session('status') }}
-
- @endif
-
-
-
-
-
-
-
-
-@endsection
-
-
diff --git a/resources/views/portal/default/auth/passwords/reset.blade.php b/resources/views/portal/default/auth/passwords/reset.blade.php
deleted file mode 100644
index 16cf68dc3906..000000000000
--- a/resources/views/portal/default/auth/passwords/reset.blade.php
+++ /dev/null
@@ -1,71 +0,0 @@
-@extends('portal.default.layouts.guest')
-
-@section('body')
-
-
-
-@endsection
diff --git a/resources/views/portal/default/client/edit.blade.php b/resources/views/portal/default/client/edit.blade.php
deleted file mode 100644
index ab5e975ae2ca..000000000000
--- a/resources/views/portal/default/client/edit.blade.php
+++ /dev/null
@@ -1,160 +0,0 @@
-@extends('portal.default.layouts.master')
-@push('css')
-
-
-
-@endpush
-@section('body')
-
-
-
-
-
-
-
- {!! Former::framework('TwitterBootstrap4'); !!}
-
- {!! Former::horizontal_open()
- ->id('update_contact')
- ->route('client.profile.update', auth()->user()->hashed_id)
- ->method('PUT'); !!}
-
-
-
-
-
-
-
-
-
-
-
-
-
- {!! Former::text('name')->placeholder( ctrans('texts.first_name'))->label('') !!}
- {!! Former::text('phone')->placeholder( ctrans('texts.phone'))->label('') !!}
- {!! Former::text('website')->placeholder( ctrans('texts.website'))->label('') !!}
-
- {!! Former::text('address1')->placeholder( ctrans('texts.address1'))->label('') !!}
- {!! Former::text('address2')->placeholder( ctrans('texts.address2'))->label('') !!}
- {!! Former::text('city')->placeholder( ctrans('texts.city'))->label('') !!}
- {!! Former::text('state')->placeholder( ctrans('texts.state'))->label('') !!}
- {!! Former::text('postal_code')->placeholder( ctrans('texts.postal_code'))->label('') !!}
-
-
- {!! Former::select('country_id')
- ->addOption('','')
- ->autocomplete('off')
- ->label('')
- ->fromQuery($countries, 'name', 'id') !!}
-
-
-
- {!! Former::text('shipping_address1')->placeholder( ctrans('texts.shipping_address1'))->label('') !!}
- {!! Former::text('shipping_address2')->placeholder( ctrans('texts.shipping_address2'))->label('') !!}
- {!! Former::text('shipping_city')->placeholder( ctrans('texts.shipping_city'))->label('') !!}
- {!! Former::text('shipping_state')->placeholder( ctrans('texts.shipping_state'))->label('') !!}
- {!! Former::text('shipping_postal_code')->placeholder( ctrans('texts.shipping_postal_code'))->label('') !!}
-
- {!! Former::select('shipping_country_id')
- ->addOption('','')
- ->autocomplete('off')
- ->label('')
- ->fromQuery($countries, 'name', 'id') !!}
-
-
-
-
-
-
-
-
-
-
-
-
-
- {!! Former::text('first_name')->placeholder( ctrans('texts.first_name'))->label('') !!}
-
- {!! Former::text('last_name')->placeholder( ctrans('texts.last_name'))->label('') !!}
-
- {!! Former::text('email')->placeholder( ctrans('texts.email'))->label('') !!}
-
- {!! Former::text('phone')->placeholder( ctrans('texts.phone'))->label('') !!}
-
-
-
-
-
-
- {!! Former::close() !!}
-
-
-
-
-
-
-
-
-@endsection
-@push('scripts')
-
-@endpush
-
-@section('footer')
-
-
-
-@endsection
\ No newline at end of file
diff --git a/resources/views/portal/default/dashboard/index.blade.php b/resources/views/portal/default/dashboard/index.blade.php
deleted file mode 100644
index fb3fb58520ba..000000000000
--- a/resources/views/portal/default/dashboard/index.blade.php
+++ /dev/null
@@ -1,109 +0,0 @@
-@extends('portal.default.layouts.master')
-
-@section('body')
-
-
- @if($settings->enable_client_portal_dashboard == 'true')
-
-
-
-
-
-
-
$1.999,50
-
{{ ctrans('texts.total_invoiced')}}
-
-
-
-
-
-
-
-
-
-
-
$1.999,50
-
{{ ctrans('texts.paid_to_date') }}
-
-
-
-
-
-
-
-
-
-
-
$1.999,50
-
{{ ctrans('texts.open_balance')}}
-
-
-
-
-
- @endif
-
-
-
-
-
-
-
{{ $client->present()->name() }}
-
- {!! $client->present()->address() !!}
-
-
-
-
-
-
-
-
-
- @if ($company->logo)
- {!! Html::image($company->logo) !!}
- @else
-
{{ $company->present()->name() }}
- @endif
-
- {!! $company->present()->address() !!}
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/resources/views/portal/default/invoices/index.blade.php b/resources/views/portal/default/invoices/index.blade.php
deleted file mode 100644
index ec669c3581ae..000000000000
--- a/resources/views/portal/default/invoices/index.blade.php
+++ /dev/null
@@ -1,271 +0,0 @@
-@extends('portal.default.layouts.master')
-@section('header')
- @parent
-
-
-@stop
-@section('body')
-
-
-
-{!! Former::framework('TwitterBootstrap4'); !!}
-
-{!! Former::horizontal_open()
- ->id('payment_form')
- ->route('client.invoices.bulk')
- ->method('POST'); !!}
-
-{!! Former::hidden('hashed_ids')->id('hashed_ids') !!}
-{!! Former::hidden('action')->id('action') !!}
-
-{!! Former::close() !!}
-
-
- @include('portal.default.flash-message')
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {!! $html->table(['class' => 'table table-hover table-striped', 'id' => 'datatable'], true) !!}
-
-
-
-
-
-
-