From a7369530ffef0a228a187e805de58eadb6c20c38 Mon Sep 17 00:00:00 2001 From: Sevan Nerse Date: Wed, 3 Nov 2021 19:00:58 +0300 Subject: [PATCH] icon added to show it as recurring #1pbthq3 --- .../documents/index/card-table-row.blade.php | 4 ++++ .../views/purchases/payments/index.blade.php | 15 ++++++++++----- resources/views/sales/revenues/index.blade.php | 15 ++++++++++----- 3 files changed, 24 insertions(+), 10 deletions(-) diff --git a/resources/views/partials/documents/index/card-table-row.blade.php b/resources/views/partials/documents/index/card-table-row.blade.php index 948b0db7b..60d3e869e 100644 --- a/resources/views/partials/documents/index/card-table-row.blade.php +++ b/resources/views/partials/documents/index/card-table-row.blade.php @@ -18,6 +18,10 @@ {{ $item->document_number }} @endif + @if ($item->recurring) + + @endif + @stack('document_number_td_inside_end') @endif diff --git a/resources/views/purchases/payments/index.blade.php b/resources/views/purchases/payments/index.blade.php index 9b720c103..e5185adf2 100644 --- a/resources/views/purchases/payments/index.blade.php +++ b/resources/views/purchases/payments/index.blade.php @@ -46,11 +46,16 @@ @foreach($payments as $item) {{ Form::bulkActionGroup($item->id, $item->contact->name) }} - @if ($item->reconciled) - @date($item->paid_at) - @else - @date($item->paid_at) - @endif + + @if ($item->reconciled) + @date($item->paid_at) + @else + @date($item->paid_at) + @endif + @if ($item->recurring) + + @endif + @money($item->amount, $item->currency_code, true) {{ $item->contact->name }} diff --git a/resources/views/sales/revenues/index.blade.php b/resources/views/sales/revenues/index.blade.php index 5d276fb6c..9f81fdda2 100644 --- a/resources/views/sales/revenues/index.blade.php +++ b/resources/views/sales/revenues/index.blade.php @@ -46,11 +46,16 @@ @foreach($revenues as $item) {{ Form::bulkActionGroup($item->id, $item->contact->name) }} - @if ($item->reconciled) - @date($item->paid_at) - @else - @date($item->paid_at) - @endif + + @if ($item->reconciled) + @date($item->paid_at) + @else + @date($item->paid_at) + @endif + @if ($item->recurring) + + @endif + @money($item->amount, $item->currency_code, true) {{ $item->contact->name }}