From 3d569f315d8a6852ee9137386d4c2dcc98339006 Mon Sep 17 00:00:00 2001 From: Alfa Adhitya Date: Tue, 28 Nov 2017 14:24:37 +0700 Subject: [PATCH 1/6] fix overlapping content --- resources/views/expenses/bills/show.blade.php | 144 +++++++++--------- .../views/incomes/invoices/show.blade.php | 144 +++++++++--------- 2 files changed, 146 insertions(+), 142 deletions(-) diff --git a/resources/views/expenses/bills/show.blade.php b/resources/views/expenses/bills/show.blade.php index 80047a964..5bbb139a5 100644 --- a/resources/views/expenses/bills/show.blade.php +++ b/resources/views/expenses/bills/show.blade.php @@ -170,89 +170,91 @@ -
-
-
-

{{ trans('bills.histories') }}

+
+
+
+
+

{{ trans('bills.histories') }}

-
- +
+ +
+
- -
-
-
- - - - - - - - - - @foreach($bill->histories as $history) +
+
+
{{ trans('general.date') }}{{ trans_choice('general.statuses', 1) }}{{ trans('general.description') }}
+ - - - + + + - @endforeach - -
{{ Date::parse($bill->created_at)->format($date_format) }}{{ $bill->status->name }}{{ $bill->description }}{{ trans('general.date') }}{{ trans_choice('general.statuses', 1) }}{{ trans('general.description') }}
+ + + @foreach($bill->histories as $history) + + {{ Date::parse($bill->created_at)->format($date_format) }} + {{ $bill->status->name }} + {{ $bill->description }} + + @endforeach + + +
-
-
-
-
-

{{ trans('bills.payments') }}

+
+
+
+

{{ trans('bills.payments') }}

-
- +
+ +
+
- -
-
-
- - - - - - - - - - - @foreach($bill->payments as $payment) +
+
+
{{ trans('general.date') }}{{ trans('general.amount') }}{{ trans_choice('general.accounts', 1) }}{{ trans('general.actions') }}
+ - - - - + + + + - @endforeach - -
{{ Date::parse($payment->paid_at)->format($date_format) }}@money($payment->amount, $payment->currency_code, true){{ $payment->account->name }} - - - {!! Form::open([ - 'id' => 'bill-payment-' . $payment->id, - 'method' => 'DELETE', - 'url' => ['expenses/bills/payment', $payment->id], - 'style' => 'display:inline' - ]) !!} - {!! Form::button(' ' . trans('general.delete'), array( - 'type' => 'button', - 'class' => 'btn btn-danger btn-xs', - 'title' => trans('general.delete'), - 'onclick' => 'confirmDelete("' . '#bill-payment-' . $payment->id . '", "' . trans_choice('general.payments', 2) . '", "' . trans('general.delete_confirm', ['name' => '' . Date::parse($payment->paid_at)->format($date_format) . ' - ' . money($payment->amount, $payment->currency_code, true) . ' - ' . $payment->account->name . '', 'type' => strtolower(trans_choice('general.revenues', 1))]) . '", "' . trans('general.cancel') . '", "' . trans('general.delete') . '")' - )) !!} - {!! Form::close() !!} - {{ trans('general.date') }}{{ trans('general.amount') }}{{ trans_choice('general.accounts', 1) }}{{ trans('general.actions') }}
+ + + @foreach($bill->payments as $payment) + + {{ Date::parse($payment->paid_at)->format($date_format) }} + @money($payment->amount, $payment->currency_code, true) + {{ $payment->account->name }} + + + + {!! Form::open([ + 'id' => 'bill-payment-' . $payment->id, + 'method' => 'DELETE', + 'url' => ['expenses/bills/payment', $payment->id], + 'style' => 'display:inline' + ]) !!} + {!! Form::button(' ' . trans('general.delete'), array( + 'type' => 'button', + 'class' => 'btn btn-danger btn-xs', + 'title' => trans('general.delete'), + 'onclick' => 'confirmDelete("' . '#bill-payment-' . $payment->id . '", "' . trans_choice('general.payments', 2) . '", "' . trans('general.delete_confirm', ['name' => '' . Date::parse($payment->paid_at)->format($date_format) . ' - ' . money($payment->amount, $payment->currency_code, true) . ' - ' . $payment->account->name . '', 'type' => strtolower(trans_choice('general.revenues', 1))]) . '", "' . trans('general.cancel') . '", "' . trans('general.delete') . '")' + )) !!} + {!! Form::close() !!} + + + @endforeach + + +
diff --git a/resources/views/incomes/invoices/show.blade.php b/resources/views/incomes/invoices/show.blade.php index 7d88541a0..181487204 100644 --- a/resources/views/incomes/invoices/show.blade.php +++ b/resources/views/incomes/invoices/show.blade.php @@ -175,89 +175,91 @@
-
-
-
-

{{ trans('invoices.histories') }}

+
+
+
+
+

{{ trans('invoices.histories') }}

-
- +
+ +
+
- -
-
-
- - - - - - - - - - @foreach($invoice->histories as $history) +
+
+
{{ trans('general.date') }}{{ trans_choice('general.statuses', 1) }}{{ trans('general.description') }}
+ - - - + + + - @endforeach - -
{{ Date::parse($history->created_at)->format($date_format) }}{{ $history->status->name }}{{ $history->description }}{{ trans('general.date') }}{{ trans_choice('general.statuses', 1) }}{{ trans('general.description') }}
+ + + @foreach($invoice->histories as $history) + + {{ Date::parse($history->created_at)->format($date_format) }} + {{ $history->status->name }} + {{ $history->description }} + + @endforeach + + +
-
-
-
-
-

{{ trans('invoices.payments') }}

+
+
+
+

{{ trans('invoices.payments') }}

-
- +
+ +
+
- -
-
-
- - - - - - - - - - - @foreach($invoice->payments as $payment) +
+
+
{{ trans('general.date') }}{{ trans('general.amount') }}{{ trans_choice('general.accounts', 1) }}{{ trans('general.actions') }}
+ - - - - + + + + - @endforeach - -
{{ Date::parse($payment->paid_at)->format($date_format) }}@money($payment->amount, $payment->currency_code, true){{ $payment->account->name }} - - - {!! Form::open([ - 'id' => 'invoice-payment-' . $payment->id, - 'method' => 'DELETE', - 'url' => ['incomes/invoices/payment', $payment->id], - 'style' => 'display:inline' - ]) !!} - {!! Form::button(' ' . trans('general.delete'), array( - 'type' => 'button', - 'class' => 'btn btn-danger btn-xs', - 'title' => trans('general.delete'), - 'onclick' => 'confirmDelete("' . '#invoice-payment-' . $payment->id . '", "' . trans_choice('general.payments', 2) . '", "' . trans('general.delete_confirm', ['name' => '' . Date::parse($payment->paid_at)->format($date_format) . ' - ' . money($payment->amount, $payment->currency_code, true) . ' - ' . $payment->account->name . '', 'type' => strtolower(trans_choice('general.revenues', 1))]) . '", "' . trans('general.cancel') . '", "' . trans('general.delete') . '")' - )) !!} - {!! Form::close() !!} - {{ trans('general.date') }}{{ trans('general.amount') }}{{ trans_choice('general.accounts', 1) }}{{ trans('general.actions') }}
+ + + @foreach($invoice->payments as $payment) + + {{ Date::parse($payment->paid_at)->format($date_format) }} + @money($payment->amount, $payment->currency_code, true) + {{ $payment->account->name }} + + + + {!! Form::open([ + 'id' => 'invoice-payment-' . $payment->id, + 'method' => 'DELETE', + 'url' => ['incomes/invoices/payment', $payment->id], + 'style' => 'display:inline' + ]) !!} + {!! Form::button(' ' . trans('general.delete'), array( + 'type' => 'button', + 'class' => 'btn btn-danger btn-xs', + 'title' => trans('general.delete'), + 'onclick' => 'confirmDelete("' . '#invoice-payment-' . $payment->id . '", "' . trans_choice('general.payments', 2) . '", "' . trans('general.delete_confirm', ['name' => '' . Date::parse($payment->paid_at)->format($date_format) . ' - ' . money($payment->amount, $payment->currency_code, true) . ' - ' . $payment->account->name . '', 'type' => strtolower(trans_choice('general.revenues', 1))]) . '", "' . trans('general.cancel') . '", "' . trans('general.delete') . '")' + )) !!} + {!! Form::close() !!} + + + @endforeach + + +
From 42584aa357aca70143b9c38e13cd82f4254d58ad Mon Sep 17 00:00:00 2001 From: cuneytsenturk Date: Wed, 29 Nov 2017 16:53:19 +0300 Subject: [PATCH 2/6] refs #101 forget category page fix :) --- resources/views/modules/tiles/index.blade.php | 44 ++++++++++--------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/resources/views/modules/tiles/index.blade.php b/resources/views/modules/tiles/index.blade.php index 48699aa62..498410f27 100644 --- a/resources/views/modules/tiles/index.blade.php +++ b/resources/views/modules/tiles/index.blade.php @@ -5,27 +5,29 @@ @section('content') @include('partials.modules.bar') -
-
-

{{ $title }}

-
- - @if ($modules) - @foreach ($modules as $module) - @include('partials.modules.item') - @endforeach - @else -
-
-

- {{ trans('modules.no_apps') }} -

-

- {!! trans('modules.developer') !!} -

-
- +
+
+
+

{{ $title }}

- @endif + + @if ($modules) + @foreach ($modules as $module) + @include('partials.modules.item') + @endforeach + @else +
+
+

+ {{ trans('modules.no_apps') }} +

+

+ {!! trans('modules.developer') !!} +

+
+ +
+ @endif +
@endsection \ No newline at end of file From 1e96c7ef6eb45e364f9c971c8aa603cb353d5fd2 Mon Sep 17 00:00:00 2001 From: cuneytsenturk Date: Wed, 29 Nov 2017 17:17:21 +0300 Subject: [PATCH 3/6] customer invoice page stylesheet --- .../Resources/lang/en-GB/offlinepayment.php | 3 +++ resources/views/customers/invoices/show.blade.php | 11 ++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/modules/OfflinePayment/Resources/lang/en-GB/offlinepayment.php b/modules/OfflinePayment/Resources/lang/en-GB/offlinepayment.php index 9b702ed82..541a5c57c 100644 --- a/modules/OfflinePayment/Resources/lang/en-GB/offlinepayment.php +++ b/modules/OfflinePayment/Resources/lang/en-GB/offlinepayment.php @@ -10,4 +10,7 @@ return [ 'order' => 'Order', 'payment_gateways' => 'Offline Payment Methods', + 'confirm' => 'Confirm', + 'loading' => 'Loading', + ]; diff --git a/resources/views/customers/invoices/show.blade.php b/resources/views/customers/invoices/show.blade.php index c4a9cf3be..f693346b7 100644 --- a/resources/views/customers/invoices/show.blade.php +++ b/resources/views/customers/invoices/show.blade.php @@ -142,17 +142,20 @@