diff --git a/app/Designs/AbstractDesign.php b/app/Designs/AbstractDesign.php deleted file mode 100644 index 1f56ae3343..0000000000 --- a/app/Designs/AbstractDesign.php +++ /dev/null @@ -1,27 +0,0 @@ -$number - - - - -'; - } - - public function header() - { - return '
-
-
-
- $company_logo -
-
-
- $company_details -
-
- $company_address -
-
-
'; - } - - public function body() - { - return '
-
-
-

$entity_label

-
$client_details
-
-
-
-
- $entity_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 445f4ea44d..0000000000 --- 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 -
-
-
- $entity_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/Clean.php b/app/Designs/Clean.php deleted file mode 100644 index 551076160a..0000000000 --- a/app/Designs/Clean.php +++ /dev/null @@ -1,150 +0,0 @@ -$number - - - - -'; - } - - public function header() - { - return '
-
-
-
$company_logo
-
-
-
- $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 1b35a25794..0000000000 --- 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 '
-
-

#$entity_number

-
-
$entity_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

-

N21

-
-
-
-
-
-

$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 38b6009915..0000000000 --- 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 14510e3777..0000000000 --- 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 d2b3e18a78..0000000000 --- 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 - -
-
-
-
-

$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

-
-
-
-
-

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 ac71ee633f..0000000000 --- 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 411fd1a345..0000000000 --- a/app/Designs/Modern.php +++ /dev/null @@ -1,151 +0,0 @@ -$number - - - - - - -'; - } - - public function header() - { - return ' -
-
-
-

$company.name

-
-
- $company_details -
-
- $entity_details -
-
-
'; - } - - public function body() - { - return ' - -
-
-
- $company_logo -
-
- $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/Photo.php b/app/Designs/Photo.php deleted file mode 100644 index 264c08bc74..0000000000 --- a/app/Designs/Photo.php +++ /dev/null @@ -1,154 +0,0 @@ -$number - - - - -'; - } - - public function header() - { - return '
-
-
- $company_logo -
-
-
- $entity_details -
-
-
-
'; - } - - public function body() - { - return '
-
-
-

$to_label:

-
- $client_details -
-
-
-

$from_label:

-
- $company_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/Plain.php b/app/Designs/Plain.php deleted file mode 100644 index 016620a7f3..0000000000 --- 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 573f6655ff..0000000000 --- a/app/Designs/Playful.php +++ /dev/null @@ -1,143 +0,0 @@ -$number - - - - -'; - } - - public function header() - { - return '
-
-
- $company_logo -
-
-
- $entity_details -
-
-
'; - } - - public function body() - { - return '
-
-
-

$to_label:

-
-
- $client_details -
-
-
-
-
-
-

$from_label:

-
-
- $company_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/resources/views/portal/default/auth/login.blade.php b/resources/views/portal/default/auth/login.blade.php deleted file mode 100644 index 569a1a4017..0000000000 --- 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 -
- @csrf -

{{ trans('texts.account_login') }}

- @if (Session::has('error')) -
-
  • {!! Session::get('error') !!}
  • -
    - @endif -

    -
    -
    - - - -
    - - - @if ($errors->has('email')) - - {{ $errors->first('email') }} - - @endif - -
    -
    -
    - - - -
    - - - @if ($errors->has('password')) - - {{ $errors->first('password') }} - - @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 b3678ab723..0000000000 --- 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')) - - @endif -
    - @csrf -

    {{trans('texts.password_recovery')}}

    -

    -
    -
    - - - -
    - - - @if ($errors->has('email')) - - {{ $errors->first('email') }} - - @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 16cf68dc39..0000000000 --- a/resources/views/portal/default/auth/passwords/reset.blade.php +++ /dev/null @@ -1,71 +0,0 @@ -@extends('portal.default.layouts.guest') - -@section('body') - -
    -
    -
    -
    -
    -
    -
    -
    - @csrf - -

    {{trans('texts.change_password')}}

    -

    -
    -
    - - - -
    - - - @if ($errors->has('email')) - - {{ $errors->first('email') }} - - @endif - -
    - -
    -
    - - - -
    - - - @if ($errors->has('password')) - - {{ $errors->first('password') }} - - @endif -
    - -
    -
    - - - -
    - -
    - -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - -@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 ab5e975ae2..0000000000 --- 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'); !!} - -
    - -
    - - {{ ctrans('texts.avatar') }} -
    - -
    - - - -
    - -
    - -
    - -
    - -
    - -
    - - {{ ctrans('texts.client_information') }} - -
    - -
    - - {!! 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') !!} - -
    - - -
    - -
    - -
    - - {{ ctrans('texts.user_details') }} - -
    - -
    - - - {!! 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 fb3fb58520..0000000000 --- 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 - -
    -
    -
    -
    {{ctrans('texts.client_information')}}
    -
    -

    {{ $client->present()->name() }}

    -
    - {!! $client->present()->address() !!} -
    -
    -
    - -
    -
    -
    {{ctrans('texts.contact_us')}}
    -
    - - @if ($company->logo) - {!! Html::image($company->logo) !!} - @else -

    {{ $company->present()->name() }}

    - @endif -
    - {!! $company->present()->address() !!} - -
    -
    -
    - -
    - - -
    -
    - -@endsection \ No newline at end of file diff --git a/resources/views/portal/default/flash-message.blade.php b/resources/views/portal/default/flash-message.blade.php deleted file mode 100644 index 7ca9fb7c51..0000000000 --- a/resources/views/portal/default/flash-message.blade.php +++ /dev/null @@ -1,40 +0,0 @@ -
    - @if ($message = Session::get('success')) -
    - - {{ $message }} -
    - @endif - - - @if ($message = Session::get('error')) -
    - - {{ $message }} -
    - @endif - - - @if ($message = Session::get('warning')) -
    - - {{ $message }} -
    - @endif - - - @if ($message = Session::get('info')) -
    - - {{ $message }} -
    - @endif - - - @if ($errors->any()) -
    - - Please check the form below for errors -
    - @endif -
    \ No newline at end of file diff --git a/resources/views/portal/default/footer.blade.php b/resources/views/portal/default/footer.blade.php deleted file mode 100644 index a719959a3e..0000000000 --- a/resources/views/portal/default/footer.blade.php +++ /dev/null @@ -1,18 +0,0 @@ -
    -
    -
    - @if(!$user->company->account->isPaid()) - Powered by - InvoiceNinja © 2019 Invoice Ninja LLC. - @endif -
    -
    - - - - - -@stack('scripts') - \ No newline at end of file diff --git a/resources/views/portal/default/gateways/authorize.blade.php b/resources/views/portal/default/gateways/authorize.blade.php deleted file mode 100644 index 68b9885daa..0000000000 --- a/resources/views/portal/default/gateways/authorize.blade.php +++ /dev/null @@ -1,27 +0,0 @@ -@extends('portal.default.layouts.master') -@section('header') - -@stop -@section('body') -
    -
    -
    -
    -
    -
    - {{ ctrans('texts.add_payment_method')}} -
    -
    - - @yield('credit_card') - -
    -
    -
    -
    -
    -
    - -@endsection -@push('scripts') -@endpush \ No newline at end of file diff --git a/resources/views/portal/default/gateways/pay_now.blade.php b/resources/views/portal/default/gateways/pay_now.blade.php deleted file mode 100644 index 8a42afe6a5..0000000000 --- a/resources/views/portal/default/gateways/pay_now.blade.php +++ /dev/null @@ -1,71 +0,0 @@ -@extends('portal.default.layouts.master') -@section('header') - -@stop -@section('body') -
    -
    -
    -
    -
    -
    - {{ ctrans('texts.payment')}} -
    -
    - - -
    -
      -
    • {{ ctrans('texts.total')}} -

      {{ $amount }}

      -
    • - @if($credit_totals > 0) -
    • {{ ctrans('texts.credit_amount')}} -

      {{ $credit_totals }}

      -
    • - @endif - @if($fee > 0) -
    • {{ ctrans('texts.gateway_fee')}} -

      {{ $fee }}

      -
    • -
    • {{ ctrans('texts.amount_due')}} -

      {{ $amount_with_fee }}

      -
    • - @endif -
    -
    - - @yield('pay_now') - -
    -
    -
    -
    -
    -
    - -@endsection -@push('scripts') -@endpush -@section('footer') -@endsection - diff --git a/resources/views/portal/default/gateways/stripe/add_credit_card.blade.php b/resources/views/portal/default/gateways/stripe/add_credit_card.blade.php deleted file mode 100644 index b2aaa1e42a..0000000000 --- a/resources/views/portal/default/gateways/stripe/add_credit_card.blade.php +++ /dev/null @@ -1,139 +0,0 @@ -@extends('portal.default.gateways.authorize') - -@section('credit_card') - -{!! Former::framework('TwitterBootstrap4'); !!} - -{!! Former::horizontal_open() - ->id('server_response') - ->route('client.payment_methods.store') - ->method('POST'); !!} - -{!! Former::hidden('company_gateway_id')->value($gateway->gateway_id) !!} -{!! Former::hidden('gateway_type_id')->value(1) !!} -{!! Former::hidden('gateway_response')->id('gateway_response') !!} -{!! Former::hidden('is_default')->id('is_default') !!} - -{!! Former::close() !!} - - -
    -
    - -
    - - -
    -
    -
    - -
    - - -
    - - - - -
    - -
    -
    - -@endsection -@push('scripts') - - - - -@endpush - -@push('css') - - -@endpush \ No newline at end of file diff --git a/resources/views/portal/default/gateways/stripe/credit_card.blade.php b/resources/views/portal/default/gateways/stripe/credit_card.blade.php deleted file mode 100644 index fd9c9bd574..0000000000 --- a/resources/views/portal/default/gateways/stripe/credit_card.blade.php +++ /dev/null @@ -1,174 +0,0 @@ -@extends('portal.default.gateways.pay_now') - -@section('pay_now') - -{!! Former::framework('TwitterBootstrap4'); !!} - -{!! Former::horizontal_open() - ->id('server_response') - ->route('client.payments.response') - ->method('POST'); !!} - -{!! Former::hidden('gateway_response')->id('gateway_response') !!} -{!! Former::hidden('store_card')->id('store_card') !!} -{!! Former::hidden('payment_hash')->value($payment_hash) !!} -{!! Former::hidden('company_gateway_id')->value($payment_method_id) !!} -{!! Former::hidden('payment_method_id')->value($gateway->getCompanyGatewayId()) !!} -{!! Former::close() !!} - - -@if($token) -
    - -
    - -
    -
    - -@else -
    -
    - -
    - - -
    -
    -
    - -
    - - -
    - - - - -
    - -
    -
    -@endif - -@endsection - -@push('scripts') - - - - -@endpush - -@push('css') - - -@endpush \ No newline at end of file diff --git a/resources/views/portal/default/header.blade.php b/resources/views/portal/default/header.blade.php deleted file mode 100644 index 6a8544cd4c..0000000000 --- a/resources/views/portal/default/header.blade.php +++ /dev/null @@ -1,61 +0,0 @@ - - \ 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 ec669c3581..0000000000 --- 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) !!} - -
    -
    - -
    -
    - -@endsection -@push('scripts') - - - - - - -@endpush - diff --git a/resources/views/portal/default/invoices/payment.blade.php b/resources/views/portal/default/invoices/payment.blade.php deleted file mode 100644 index 4e21ebd358..0000000000 --- a/resources/views/portal/default/invoices/payment.blade.php +++ /dev/null @@ -1,222 +0,0 @@ -@extends('portal.default.layouts.master') -@section('header') - -@stop -@section('body') -
    -
    -{!! Former::framework('TwitterBootstrap4'); !!} - -{!! Former::horizontal_open() - ->id('payment_form') - ->route('client.payments.process') - ->method('POST'); !!} - -{!! Former::hidden('hashed_ids')->id('hashed_ids')->value($hashed_ids) !!} -{!! Former::hidden('company_gateway_id')->id('company_gateway_id') !!} -{!! Former::hidden('payment_method_id')->id('payment_method_id') !!} - -{!! Former::close() !!} - -
    -
    -
    -
    - {{ ctrans('texts.payment')}} -
    -
    - - -
    -
      -
    • {{ ctrans('texts.total')}} -

      {{ $formatted_total }}

      -
    • -
    -
    - - -
    - - -
    - -
    -
    -
    -
    -
    -
    - - - - - - - - - - - - - - - - - -@endsection -@push('css') - -@endpush -@push('scripts') - - - -@endpush -@section('footer') -@endsection - diff --git a/resources/views/portal/default/invoices/show.blade.php b/resources/views/portal/default/invoices/show.blade.php deleted file mode 100644 index 607e395632..0000000000 --- a/resources/views/portal/default/invoices/show.blade.php +++ /dev/null @@ -1,46 +0,0 @@ -@extends('portal.default.layouts.master') -@section('body') -
    -
    - -{!! Former::framework('TwitterBootstrap4'); !!} - -{!! Former::horizontal_open() - ->id('payment_form') - ->route('client.invoices.bulk') - ->method('POST'); !!} - -{!! Former::hidden('hashed_ids')->id('hashed_ids')->value( $invoice->hashed_id ) !!} -{!! Former::hidden('action')->id('action')->value('payment') !!} - - - -
    -
    - - @if($invoice->isPayable()) -
    - -
    - @endif - -
    -
    - -{!! Former::close() !!} - -
    -
    - - - - - -
    - -
    -
    - -@endsection \ No newline at end of file diff --git a/resources/views/portal/default/layouts/guest.blade.php b/resources/views/portal/default/layouts/guest.blade.php deleted file mode 100644 index 4462f3baac..0000000000 --- a/resources/views/portal/default/layouts/guest.blade.php +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - @if (config('services.analytics.tracking_id')) - - - - @else - - @endif - - - @yield('meta_title', 'Invoice Ninja') | {{ config('app.name') }} - - - - - - - - - - - - - - - - @yield('head') - -@section('body') -@yield('body') - \ No newline at end of file diff --git a/resources/views/portal/default/layouts/master.blade.php b/resources/views/portal/default/layouts/master.blade.php deleted file mode 100644 index 2740b9e857..0000000000 --- a/resources/views/portal/default/layouts/master.blade.php +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - @if (config('services.analytics.tracking_id')) - - - - @else - - @endif - - @php - $user = auth()->guard('contact')->user(); - @endphp - - - @yield('meta_title', 'Invoice Ninja') | {{ config('app.name') }} - - - - - - - - - - - - - - - - - @stack('css') - @yield('head') - -@include('portal.default.header') -@yield('header') -@include('portal.default.sidebar') -@yield('sidebar') -@section('body') -@yield('body') -@include('portal.default.footer') -@yield('footer') - - - \ No newline at end of file diff --git a/resources/views/portal/default/payment_methods/index.blade.php b/resources/views/portal/default/payment_methods/index.blade.php deleted file mode 100644 index 1714363aeb..0000000000 --- a/resources/views/portal/default/payment_methods/index.blade.php +++ /dev/null @@ -1,92 +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() !!} - -
    - -
    - - - @if(auth()->user()->client->getCreditCardGateway()) - - @endif -
    -
    - - -
    -
    - {!! $html->table(['class' => 'table table-hover table-striped', 'id' => 'datatable'], true) !!} -
    -
    - - -
    -
    - -@endsection -@push('scripts') - - - - -@endpush \ No newline at end of file diff --git a/resources/views/portal/default/payment_methods/show.blade.php b/resources/views/portal/default/payment_methods/show.blade.php deleted file mode 100644 index 53c1b1e05d..0000000000 --- a/resources/views/portal/default/payment_methods/show.blade.php +++ /dev/null @@ -1,67 +0,0 @@ -@section('meta_title', __('texts.payment_methods')) -@extends('portal.default.layouts.master') - -@section('body') -
    -
    -
    -
    -
    -
    - {{ ctrans("texts.{$payment_method->gateway_type->alias}") }} -
    -
    -

    - {{ ctrans('texts.payment_type') }}: - {{ $payment_method->gateway_type->name }} -

    -

    - {{ ctrans('texts.type') }}: - {{ ucfirst($payment_method->meta->brand) }} -

    - -

    - {{ ctrans('texts.card_number') }}: - **** **** **** {{ ucfirst($payment_method->meta->last4) }} -

    - - @isset($payment_method->meta->exp_month) -

    - {{ ctrans('texts.expires') }}: - {{ "{$payment_method->meta->exp_month}/{$payment_method->meta->exp_year}" }} -

    - @endisset - -

    - {{ ctrans('texts.date_created') }}: - {{ date(auth()->user()->client->date_format(), $payment_method->created_at) }} -

    -

    - {{ ctrans('texts.default') }}: - {{ $payment_method->is_default ? ctrans('texts.yes') : ctrans('texts.no') }} -

    -
    -
    -
    -
    -
    -
    - {{ ctrans("texts.delete_payment_method") }} -
    -
    -

    - {{ ctrans('texts.about_to_delete_payment_method') }} - {{ ctrans('texts.action_cant_be_reversed') }}. -

    -
    - -
    -
    -
    -
    -
    -@endsection diff --git a/resources/views/portal/default/payments/index.blade.php b/resources/views/portal/default/payments/index.blade.php deleted file mode 100644 index ce49bcd67c..0000000000 --- a/resources/views/portal/default/payments/index.blade.php +++ /dev/null @@ -1,82 +0,0 @@ -@extends('portal.default.layouts.master') -@section('header') - @parent - -@stop -@section('body') -
    -
    - -
    - -
    - -
    -
    - - {!! $html->table(['class' => 'table table-hover table-striped', 'id' => 'datatable'], true) !!} - -
    -
    -
    - -
    - -
    -
    - -@endsection -@push('scripts') - - -@endpush -@section('footer') - -@endsection - diff --git a/resources/views/portal/default/payments/show.blade.php b/resources/views/portal/default/payments/show.blade.php deleted file mode 100644 index bb1870f2ce..0000000000 --- a/resources/views/portal/default/payments/show.blade.php +++ /dev/null @@ -1,43 +0,0 @@ -@extends('portal.default.layouts.master') -@section('header') - -@stop -@section('body') -
    -
    -
    -
    -
    -
    - {{ ctrans('texts.payment')}} -
    -
    - - - - - - -
    {{ctrans('texts.payment_date')}}{!! $payment->clientPaymentDate() !!}
    {{ctrans('texts.transaction_reference')}}{{$payment->transaction_reference}}
    {{ctrans('texts.method')}}{{$payment->type->name}}
    {{ctrans('texts.amount')}}{{$payment->formattedAmount()}}
    {{ctrans('texts.status')}}{!! $payment::badgeForStatus($payment->status_id) !!}
    - - - @foreach($payment->invoices as $invoice) - - @endforeach -
    {{ ctrans('texts.invoice_number')}}{{ $invoice->number }}
    -
    -
    -
    -
    -
    -
    - - -@endsection -@push('css') -@endpush -@push('scripts') -@endpush -@section('footer') -@endsection - diff --git a/resources/views/portal/default/profile/client_information.blade.php b/resources/views/portal/default/profile/client_information.blade.php deleted file mode 100644 index c04e693460..0000000000 --- a/resources/views/portal/default/profile/client_information.blade.php +++ /dev/null @@ -1,135 +0,0 @@ -
    - -
    - - {!! Former::framework('TwitterBootstrap4'); !!} - - {!! Former::horizontal_open_for_files() - ->id('update_settings') - ->route('client.profile.edit_client', auth()->user()->hashed_id) - ->method('PUT'); !!} - - {!! Former::populate(auth()->user()->client) !!} - - @csrf - -
    - -
    - {{ ctrans('texts.client_information') }} -
    - -
    - -
    -
    -
    -
    - @if(auth()->user()->client->logo) - - @else - - @endif - - {!! Former::file('logo') - ->max(2, 'MB') - ->accept('image') - ->label('') - ->inlineHelp(trans('texts.logo_help')) !!} -
    -
    -
    -
    -
    - {!! Former::text('name')->label( ctrans('texts.name')) !!} - {!! Former::text('website')->label( ctrans('texts.website')) !!} -
    -
    -
    - -
    - -
    -
    -
    - {{ ctrans('texts.address') }} -
    -
    - - {!! Former::text('address1')->label( ctrans('texts.address1')) !!} - {!! Former::text('address2')->label( ctrans('texts.address2')) !!} - {!! Former::text('city')->label( ctrans('texts.city')) !!} - {!! Former::text('state')->label( ctrans('texts.state')) !!} - {!! Former::text('postal_code')->label( ctrans('texts.postal_code')) !!} - - {!! Former::select('country_id') - ->addOption('','') - ->autocomplete('off') - ->label(ctrans('texts.country')) - ->fromQuery($countries, 'name', 'id') !!} - -
    -
    -
    - - -
    -
    -
    - {{ ctrans('texts.shipping_address') }} -
    -
    - - {!! Former::text('shipping_address1')->label( ctrans('texts.shipping_address1')) !!} - {!! Former::text('shipping_address2')->label( ctrans('texts.shipping_address2')) !!} - {!! Former::text('shipping_city')->label(ctrans('texts.shipping_city')) !!} - {!! Former::text('shipping_state')->label(ctrans('texts.shipping_state')) !!} - {!! Former::text('shipping_postal_code')->label(ctrans('texts.shipping_postal_code')) !!} - - {!! Former::select('shipping_country_id') - ->addOption('','') - ->autocomplete('off') - ->label(ctrans('texts.shipping_country')) - ->fromQuery($countries, 'name', 'id') !!} -
    -
    -
    - -
    - - - -
    - - {!! Former::close() !!} - -
    -@push('scripts') - - -@endpush \ No newline at end of file diff --git a/resources/views/portal/default/profile/client_localization.blade.php b/resources/views/portal/default/profile/client_localization.blade.php deleted file mode 100644 index d094a1599c..0000000000 --- a/resources/views/portal/default/profile/client_localization.blade.php +++ /dev/null @@ -1,35 +0,0 @@ -
    - -
    - - {!! Former::framework('TwitterBootstrap4'); !!} - - {!! Former::horizontal_open() - ->id('update_settings') - ->route('client.profile.edit_localization', auth()->user()->hashed_id) - ->method('PUT'); !!} - - {!! Former::populate(auth()->user()->client->settings) !!} - - @csrf - -
    - -
    - {{ ctrans('texts.localization') }} -
    - -
    - - {!! Former::text('timezone_id')->label( ctrans('texts.timezone_id')) !!} - {!! Former::text('language_id')->label( ctrans('texts.language')) !!} - {!! Former::text('date_format')->label( ctrans('texts.date_format')) !!} - {!! Former::text('datetime_format')->label( ctrans('texts.datetime_format')) !!} - - - -
    - - {!! Former::close() !!} - -
    diff --git a/resources/views/portal/default/profile/index.blade.php b/resources/views/portal/default/profile/index.blade.php deleted file mode 100644 index 885e2f9c6a..0000000000 --- a/resources/views/portal/default/profile/index.blade.php +++ /dev/null @@ -1,68 +0,0 @@ -@extends('portal.default.layouts.master') -@push('css') - - - -@endpush -@section('body') -
    -
    -
    -
    -
    -
    - {{ ctrans('texts.details') }} -
    - - {!! Former::framework('TwitterBootstrap4'); !!} - - {!! Former::horizontal_open_for_files() - ->id('update_contact') - ->route('client.profile.update', auth()->user()->hashed_id) - ->method('PUT'); !!} - - @csrf - -
    - -
    -
    -
    -
    - {!! Former::text('first_name')->label( ctrans('texts.first_name'))->value(auth()->user()->first_name) !!} - - {!! Former::text('last_name')->placeholder('')->label( ctrans('texts.last_name'))->value(auth()->user()->last_name) !!} - - {!! Former::text('email')->placeholder('')->label(ctrans('texts.email'))->value(auth()->user()->email) !!} - - {!! Former::text('phone')->placeholder('')->label(ctrans('texts.phone'))->value(auth()->user()->phone) !!} - - {!! Former::password('password')->placeholder('')->label(ctrans('texts.password')) !!} - - {!! Former::password('password_confirmation')->placeholder('')->label(ctrans('texts.confirm_password')) !!} - -
    - -
    -
    -
    -
    -
    -
    -
    -
    -
    - - {!! Former::close() !!} - - @include('portal.default.profile.client_information') -
    -
    - -@endsection -@section('footer') -@endsection \ No newline at end of file diff --git a/resources/views/portal/default/recurring_invoices/index.blade.php b/resources/views/portal/default/recurring_invoices/index.blade.php deleted file mode 100644 index 6728bd2d47..0000000000 --- a/resources/views/portal/default/recurring_invoices/index.blade.php +++ /dev/null @@ -1,82 +0,0 @@ -@extends('portal.default.layouts.master') -@section('header') - @parent - -@stop -@section('body') -
    -
    - -
    - -
    - -
    -
    - - {!! $html->table(['class' => 'table table-hover table-striped', 'id' => 'datatable'], true) !!} - -
    -
    -
    - -
    - -
    -
    - -@endsection -@push('scripts') - - -@endpush -@section('footer') - -@endsection - diff --git a/resources/views/portal/default/recurring_invoices/request_cancellation.blade.php b/resources/views/portal/default/recurring_invoices/request_cancellation.blade.php deleted file mode 100644 index 59fa8926a8..0000000000 --- a/resources/views/portal/default/recurring_invoices/request_cancellation.blade.php +++ /dev/null @@ -1,43 +0,0 @@ -@extends('portal.default.layouts.master') - -@section('body') -
    -
    -
    -
    -
    -
    - {{ ctrans('texts.cancellation') }} -
    -
    - - - - - - - - - - - - - - - - - - - - - - -
    {{ctrans('texts.start_date')}}{!! $invoice->start_date !!}
    {{ctrans('texts.next_send_date')}}{!! $invoice->next_send_date !!}
    {{ctrans('texts.frequency')}}{!! App\Models\RecurringInvoice::frequencyForKey($invoice->frequency_id) !!}
    {{ctrans('texts.cycles_remaining')}}{!! $invoice->remaining_cycles !!}
    {{ctrans('texts.amount')}}{!! $invoice->amount !!}
    - -
    -
    -
    -
    -
    -
    -@endsection \ No newline at end of file diff --git a/resources/views/portal/default/recurring_invoices/show.blade.php b/resources/views/portal/default/recurring_invoices/show.blade.php deleted file mode 100644 index df82793c0b..0000000000 --- a/resources/views/portal/default/recurring_invoices/show.blade.php +++ /dev/null @@ -1,70 +0,0 @@ -@extends('portal.default.layouts.master') -@section('header') -@stop -@section('body') -
    -
    -
    -
    -
    -
    - {{ ctrans('texts.recurring_invoice')}} -
    -
    - - - - - - - -
    {{ctrans('texts.start_date')}}{!! $invoice->formatDate($invoice->start_date,$invoice->client->date_format()) !!}
    {{ctrans('texts.next_send_date')}}{!! $invoice->formatDate($invoice->next_send_date,$invoice->client->date_format()) !!}
    {{ctrans('texts.frequency')}}{!! App\Models\RecurringInvoice::frequencyForKey($invoice->frequency_id) !!}
    {{ctrans('texts.cycles_remaining')}}{!! $invoice->remaining_cycles !!}
    {{ctrans('texts.amount')}}{!! App\Utils\Number::formatMoney($invoice->amount, $invoice->client) !!}
    - - - @foreach($invoice->invoices as $inv) - {{ $inv->id }} - {{ $inv->amount }} - @endforeach -
    - - @if($invoice->remaining_cycles >=1) -
    - -
    - @endif -
    -
    -
    -
    -
    -
    - - - -@endsection -@push('css') -@endpush -@push('scripts') -@endpush -@section('footer') -@endsection - diff --git a/resources/views/portal/default/sidebar.blade.php b/resources/views/portal/default/sidebar.blade.php deleted file mode 100644 index e966b00327..0000000000 --- a/resources/views/portal/default/sidebar.blade.php +++ /dev/null @@ -1,15 +0,0 @@ -
    -