From 40bf73cd9a6072bc58752c92eed45664f97034eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Thu, 18 Feb 2021 13:20:26 +0100 Subject: [PATCH] Remove redundant views --- .../invoices/show/fullscreen.blade.php | 57 ------------------- .../quotes/show/fullscreen.blade.php | 16 ------ 2 files changed, 73 deletions(-) delete mode 100644 resources/views/portal/ninja2020/invoices/show/fullscreen.blade.php delete mode 100644 resources/views/portal/ninja2020/quotes/show/fullscreen.blade.php diff --git a/resources/views/portal/ninja2020/invoices/show/fullscreen.blade.php b/resources/views/portal/ninja2020/invoices/show/fullscreen.blade.php deleted file mode 100644 index 09d50666493c..000000000000 --- a/resources/views/portal/ninja2020/invoices/show/fullscreen.blade.php +++ /dev/null @@ -1,57 +0,0 @@ -@extends('portal.ninja2020.layout.clean', ['custom_body_class' => 'overflow-y-hidden']) -@section('meta_title', ctrans('texts.view_invoice')) - -@section('body') - @if($invoice->isPayable()) -
- @csrf -
-
-
-
-

- {{ ctrans('texts.invoice_number_placeholder', ['invoice' => $invoice->number])}} - - {{ ctrans('texts.unpaid') }} -

-
-

- {{ ctrans('texts.invoice_still_unpaid') }} - -

-
-
-
- - ← {{ ctrans('texts.client_portal') }} - - -
- - - -
-
-
-
-
-
- @else -
-
-
-

- {{ ctrans('texts.invoice_number_placeholder', ['invoice' => $invoice->number])}} - - {{ ctrans('texts.paid') }} -

- - ← {{ ctrans('texts.client_portal') }} - -
-
-
- @endif - - -@endsection diff --git a/resources/views/portal/ninja2020/quotes/show/fullscreen.blade.php b/resources/views/portal/ninja2020/quotes/show/fullscreen.blade.php deleted file mode 100644 index c5e08efa833c..000000000000 --- a/resources/views/portal/ninja2020/quotes/show/fullscreen.blade.php +++ /dev/null @@ -1,16 +0,0 @@ -@extends('portal.ninja2020.layout.clean') -@section('meta_title', ctrans('texts.view_quote')) - -@section('body') - @if(!$quote->isApproved()) - @component('portal.ninja2020.quotes.includes.actions', ['quote' => $quote]) - @section('quote-not-approved-right-side') - - ← {{ ctrans('texts.client_portal') }} - - @endsection - @endcomponent - @endif - - -@endsection