diff --git a/resources/views/portal/ninja2020/components/livewire/credits-table.blade.php b/resources/views/portal/ninja2020/components/livewire/credits-table.blade.php index f3b0eb07f150..bac9411b2a05 100644 --- a/resources/views/portal/ninja2020/components/livewire/credits-table.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/credits-table.blade.php @@ -46,22 +46,22 @@ @forelse($credits as $credit) - + {{ $credit->number }} - + {{ App\Utils\Number::formatMoney($credit->amount, $credit->client) }} - + {{ App\Utils\Number::formatMoney($credit->balance, $credit->client) }} - + {{ $credit->formatDate($credit->date, $credit->client->date_format()) }} - + {{ $credit->public_notes }} - + @lang('texts.view') @@ -69,7 +69,7 @@ @empty - + {{ ctrans('texts.no_results') }} diff --git a/resources/views/portal/ninja2020/components/livewire/documents-table.blade.php b/resources/views/portal/ninja2020/components/livewire/documents-table.blade.php index 88a081f31ee8..a455f413800c 100644 --- a/resources/views/portal/ninja2020/components/livewire/documents-table.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/documents-table.blade.php @@ -102,24 +102,24 @@ @forelse($documents as $document) - + - + {{ Illuminate\Support\Str::limit($document->name, 20) }} - + {{ App\Models\Document::$types[$document->type]['mime'] }} - + {{ $document->size / 1000 }} kB - + - + {{ ctrans('texts.view') }} @@ -127,7 +127,7 @@ @empty - + {{ ctrans('texts.no_results') }} diff --git a/resources/views/portal/ninja2020/components/livewire/invoices-table.blade.php b/resources/views/portal/ninja2020/components/livewire/invoices-table.blade.php index 98a8c2fab2cf..9306064d752e 100644 --- a/resources/views/portal/ninja2020/components/livewire/invoices-table.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/invoices-table.blade.php @@ -70,30 +70,30 @@ @forelse($invoices as $invoice) - + - + {{ $invoice->number }} - + {{ $invoice->formatDate($invoice->date, $invoice->client->date_format()) }} - + {{ App\Utils\Number::formatMoney($invoice->amount, $invoice->client) }} - + {{ App\Utils\Number::formatMoney($invoice->balance, $invoice->client) }} - + {{ $invoice->formatDate($invoice->due_date, $invoice->client->date_format()) }} - + {!! App\Models\Invoice::badgeForStatus($invoice->status) !!} - + @if($invoice->isPayable() && $invoice->balance > 0 && !empty(auth()->user()->client->service()->getPaymentMethods(0)))
@csrf @@ -111,7 +111,7 @@ @empty - + {{ ctrans('texts.no_results') }} diff --git a/resources/views/portal/ninja2020/components/livewire/payment-methods-table.blade.php b/resources/views/portal/ninja2020/components/livewire/payment-methods-table.blade.php index 767ed490170d..bd777ddc976c 100644 --- a/resources/views/portal/ninja2020/components/livewire/payment-methods-table.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/payment-methods-table.blade.php @@ -63,26 +63,26 @@ @forelse($payment_methods as $payment_method) - + {{ $payment_method->formatDateTimestamp($payment_method->created_at, $client->date_format()) }} - + {{ ctrans("texts.{$payment_method->gateway_type->alias}") }} - + {{ ucfirst(optional($payment_method->meta)->brand) }} - + @if(isset($payment_method->meta->exp_month) && isset($payment_method->meta->exp_year)) {{ $payment_method->meta->exp_month}} / {{ $payment_method->meta->exp_year }} @endif - + @isset($payment_method->meta->last4) **** {{ $payment_method->meta->last4 }} @endisset - + @if($payment_method->is_default) @endif - + @lang('texts.view') @@ -100,7 +100,7 @@ @empty
- + {{ ctrans('texts.no_results') }}
diff --git a/resources/views/portal/ninja2020/components/livewire/payments-table.blade.php b/resources/views/portal/ninja2020/components/livewire/payments-table.blade.php index 55163bc901b8..755d090791f1 100644 --- a/resources/views/portal/ninja2020/components/livewire/payments-table.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/payments-table.blade.php @@ -50,25 +50,25 @@ @forelse($payments as $payment)
- + {{ $payment->number }} - + {{ $payment->formatDate($payment->date, $payment->client->date_format()) }} - + {{ optional($payment->type)->name }} - + {!! \App\Utils\Number::formatMoney($payment->amount, $payment->client) !!} - + {{ \Illuminate\Support\Str::limit($payment->transaction_reference, 35) }} - + {!! \App\Models\Payment::badgeForStatus($payment->status_id) !!} - + @lang('texts.view') @@ -76,7 +76,7 @@
@empty
- + {{ ctrans('texts.no_results') }}
diff --git a/resources/views/portal/ninja2020/components/livewire/quotes-table.blade.php b/resources/views/portal/ninja2020/components/livewire/quotes-table.blade.php index b827cdfcc8bf..760d0249ce4e 100644 --- a/resources/views/portal/ninja2020/components/livewire/quotes-table.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/quotes-table.blade.php @@ -65,27 +65,27 @@ @forelse($quotes as $quote)
- + - + {{ $quote->number }} - + {{ $quote->formatDate($quote->date, $quote->client->date_format()) }} - + {{ App\Utils\Number::formatMoney($quote->amount, $quote->client) }} - + {{ $quote->formatDate($quote->due_date, $quote->client->date_format()) }} - + {!! App\Models\Quote::badgeForStatus($quote->status_id) !!} - + {{ ctrans('texts.view') }} @@ -93,7 +93,7 @@
@empty
- + {{ ctrans('texts.no_results') }}
diff --git a/resources/views/portal/ninja2020/components/livewire/recurring-invoices-table.blade.php b/resources/views/portal/ninja2020/components/livewire/recurring-invoices-table.blade.php index 0b6fadc0c3aa..a94c4c8d984d 100644 --- a/resources/views/portal/ninja2020/components/livewire/recurring-invoices-table.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/recurring-invoices-table.blade.php @@ -46,23 +46,23 @@ @forelse($invoices as $invoice)
- + {{ \App\Models\RecurringInvoice::frequencyForKey($invoice->frequency_id) }} - + {{ $invoice->formatDate($invoice->date, $invoice->client->date_format()) }} - + {{ $invoice->formatDate($invoice->next_send_date, $invoice->client->date_format()) }} - + {{ $invoice->remaining_cycles == '-1' ? ctrans('texts.endless') : $invoice->remaining_cycles }} @if($invoice->remaining_cycles == '-1') ∞ @endif - + {{ \App\Utils\Number::formatMoney($invoice->amount, $invoice->client) }} - + @lang('texts.view') @@ -70,7 +70,7 @@
@empty
- + {{ ctrans('texts.no_results') }}
diff --git a/resources/views/portal/ninja2020/components/livewire/subscriptions-recurring-invoices-table.blade.php b/resources/views/portal/ninja2020/components/livewire/subscriptions-recurring-invoices-table.blade.php index c744bfce27e1..2699deb4ee48 100644 --- a/resources/views/portal/ninja2020/components/livewire/subscriptions-recurring-invoices-table.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/subscriptions-recurring-invoices-table.blade.php @@ -47,25 +47,25 @@ @forelse($recurring_invoices as $recurring_invoice)
- + {{ $recurring_invoice->subscription->name }} - + {{ \App\Models\RecurringInvoice::frequencyForKey($recurring_invoice->frequency_id) }} - + {{ $recurring_invoice->number }} - + {{ App\Utils\Number::formatMoney($recurring_invoice->amount, $recurring_invoice->client) }} - + {{ $recurring_invoice->formatDate($recurring_invoice->date, $recurring_invoice->client->date_format()) }} - + {{ ctrans('texts.view') }} @@ -74,7 +74,7 @@
@empty
- + {{ ctrans('texts.no_results') }}
diff --git a/resources/views/portal/ninja2020/components/livewire/subscriptions-table.blade.php b/resources/views/portal/ninja2020/components/livewire/subscriptions-table.blade.php index 7c7a9be89fed..e7c5f4b789e2 100644 --- a/resources/views/portal/ninja2020/components/livewire/subscriptions-table.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/subscriptions-table.blade.php @@ -40,22 +40,22 @@ @forelse($invoices as $invoice)
- + {{ $invoice->number }} - + {{ App\Utils\Number::formatMoney($invoice->amount, $invoice->client) }} - + {{ $invoice->formatDate($invoice->date, $invoice->client->date_format()) }}
@empty
- + {{ ctrans('texts.no_results') }}
@@ -114,22 +114,22 @@ @forelse($invoices as $invoice)
- + {{ $invoice->number }} - + {{ App\Utils\Number::formatMoney($invoice->amount, $invoice->client) }} - + {{ $invoice->formatDate($invoice->date, $invoice->client->date_format()) }}
@empty
- + {{ ctrans('texts.no_results') }}
diff --git a/resources/views/portal/ninja2020/components/livewire/tasks-table.blade.php b/resources/views/portal/ninja2020/components/livewire/tasks-table.blade.php index d90820f8fc61..cdb5df1d5efb 100644 --- a/resources/views/portal/ninja2020/components/livewire/tasks-table.blade.php +++ b/resources/views/portal/ninja2020/components/livewire/tasks-table.blade.php @@ -40,22 +40,22 @@ @forelse($tasks as $task)
- + {{ \Illuminate\Support\Str::limit($task->description, 80) }} - + {{ optional($task->project)->name }} - + {{ optional($task->status)->name }} - + {{ \Carbon\CarbonInterval::seconds($task->calcDuration())->cascade()->forHumans() }}
@empty
- + {{ ctrans('texts.no_results') }}