From e522b2689977b02086ccda2efc732278e75e3ad7 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Sat, 18 Jan 2020 16:43:04 +0300 Subject: [PATCH 1/5] styling --- resources/views/purchases/bills/index.blade.php | 4 ++-- resources/views/sales/invoices/index.blade.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/purchases/bills/index.blade.php b/resources/views/purchases/bills/index.blade.php index 66609a29a..4049129d2 100644 --- a/resources/views/purchases/bills/index.blade.php +++ b/resources/views/purchases/bills/index.blade.php @@ -37,7 +37,7 @@ {{ Form::bulkActionAllGroup() }} @sortablelink('bill_number', trans_choice('general.numbers', 1), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow']) - @sortablelink('contact_name', trans_choice('general.vendors', 1)) + @sortablelink('contact_name', trans_choice('general.vendors', 1)) @sortablelink('amount', trans('general.amount')) @sortablelink('billed_at', trans('bills.bill_date')) @sortablelink('due_at', trans('bills.due_date')) @@ -52,7 +52,7 @@ {{ Form::bulkActionGroup($item->id, $item->bill_number) }} {{ $item->bill_number }} - {{ $item->contact_name }} + {{ $item->contact_name }} @money($item->amount, $item->currency_code, true) @date($item->billed_at) @date($item->due_at) diff --git a/resources/views/sales/invoices/index.blade.php b/resources/views/sales/invoices/index.blade.php index 7df0d157e..a44e86770 100644 --- a/resources/views/sales/invoices/index.blade.php +++ b/resources/views/sales/invoices/index.blade.php @@ -37,7 +37,7 @@ {{ Form::bulkActionAllGroup() }} @sortablelink('invoice_number', trans_choice('general.numbers', 1), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow']) - @sortablelink('contact_name', trans_choice('general.customers', 1)) + @sortablelink('contact_name', trans_choice('general.customers', 1)) @sortablelink('amount', trans('general.amount')) @sortablelink('invoiced_at', trans('invoices.invoice_date')) @sortablelink('due_at', trans('invoices.due_date')) @@ -52,7 +52,7 @@ {{ Form::bulkActionGroup($item->id, $item->invoice_number) }} {{ $item->invoice_number }} - {{ $item->contact_name }} + {{ $item->contact_name }} @money($item->amount, $item->currency_code, true) @date($item->invoiced_at) @date($item->due_at) From adb7f1e2e327717be8201993f80786c14b524f93 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Sat, 18 Jan 2020 17:04:30 +0300 Subject: [PATCH 2/5] more styling --- resources/views/purchases/payments/index.blade.php | 4 ++-- resources/views/sales/revenues/index.blade.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/purchases/payments/index.blade.php b/resources/views/purchases/payments/index.blade.php index d3f9dd86b..7795a384b 100644 --- a/resources/views/purchases/payments/index.blade.php +++ b/resources/views/purchases/payments/index.blade.php @@ -38,7 +38,7 @@ {{ Form::bulkActionAllGroup() }} @sortablelink('paid_at', trans('general.date'), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow']) @sortablelink('amount', trans('general.amount')) - @sortablelink('contact.name', trans_choice('general.vendors', 1)) + @sortablelink('contact.name', trans_choice('general.vendors', 1)) @sortablelink('category.name', trans_choice('general.categories', 1)) @sortablelink('account.name', trans_choice('general.accounts', 1)) {{ trans('general.actions') }} @@ -56,7 +56,7 @@ @date($item->paid_at) @endif @money($item->amount, $item->currency_code, true) - {{ !empty($item->contact->name) ? $item->contact->name : trans('general.na') }} + {{ !empty($item->contact->name) ? $item->contact->name : trans('general.na') }} {{ $item->category ? $item->category->name : trans('general.na') }} {{ $item->account ? $item->account->name : trans('general.na') }} diff --git a/resources/views/sales/revenues/index.blade.php b/resources/views/sales/revenues/index.blade.php index 348f23363..178d904ec 100644 --- a/resources/views/sales/revenues/index.blade.php +++ b/resources/views/sales/revenues/index.blade.php @@ -38,7 +38,7 @@ {{ Form::bulkActionAllGroup() }} @sortablelink('paid_at', trans('general.date'), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow']) @sortablelink('amount', trans('general.amount')) - @sortablelink('contact.name', trans_choice('general.customers', 1)) + @sortablelink('contact.name', trans_choice('general.customers', 1)) @sortablelink('category.name', trans_choice('general.categories', 1)) @sortablelink('account.name', trans_choice('general.accounts', 1)) {{ trans('general.actions') }} @@ -56,7 +56,7 @@ @date($item->paid_at) @endif @money($item->amount, $item->currency_code, true) - {{ !empty($item->contact->name) ? $item->contact->name : trans('general.na') }} + {{ !empty($item->contact->name) ? $item->contact->name : trans('general.na') }} {{ $item->category ? $item->category->name : trans('general.na') }} {{ $item->account ? $item->account->name : trans('general.na') }} From 3eee5f63edd0c1bce89cc94ed24f314ab07c901b Mon Sep 17 00:00:00 2001 From: denisdulici Date: Sat, 18 Jan 2020 17:13:58 +0300 Subject: [PATCH 3/5] removed old check --- resources/views/purchases/payments/index.blade.php | 6 +++--- resources/views/sales/revenues/index.blade.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/views/purchases/payments/index.blade.php b/resources/views/purchases/payments/index.blade.php index 7795a384b..e63c10740 100644 --- a/resources/views/purchases/payments/index.blade.php +++ b/resources/views/purchases/payments/index.blade.php @@ -56,9 +56,9 @@ @date($item->paid_at) @endif @money($item->amount, $item->currency_code, true) - {{ !empty($item->contact->name) ? $item->contact->name : trans('general.na') }} - {{ $item->category ? $item->category->name : trans('general.na') }} - {{ $item->account ? $item->account->name : trans('general.na') }} + {{ $item->contact->name }} + {{ $item->category->name }} + {{ $item->account->name }} @if (!$is_transfer)