@if(config('visibility.invoices_col_checkboxes'))
|
|
@endif
{{ $invoice->formatted_bill_invoiceid }}
@if(auth()->user()->is_team && $invoice->bill_recurring == 'yes')
@endif
@if(auth()->user()->is_team && $invoice->bill_recurring_child == 'yes')
@endif
|
{{ $invoice->bill_recurring_parent_id ?? '---' }}
|
{{ runtimeDate($invoice->bill_date) }}
|
{{ runtimeDate($invoice->bill_due_date ?? '') }}
|
{{ str_limit($invoice->client_company_name ?? '---', 22) }}
|
@if(isset($invoice->contact_name) && $invoice->contact_name != '')
{{ $invoice->contact_name }}
@else
---
@endif
|
{{ checkUsersName($invoice->first_name, $invoice->bill_creatorid) }}
{{ $invoice->first_name ?? runtimeUnkownUser() }} {{ $invoice->last_name ?? '' }}
|
{{ $invoice->bill_projectid ?? '---' }}
|
{{ str_limit($invoice->project_title ?? '---', 20) }}
|
{{ runtimeMoneyFormat($invoice->bill_tax_total_amount) }}
|
@if($invoice->bill_discount_type == 'fixed')
@lang('lang.fixed_amount')
@endif
@if($invoice->bill_discount_type == 'none')
---
@endif
@if($invoice->bill_discount_type == 'percentage')
{{ $invoice->bill_discount_percentage }}%
@endif
|
@if($invoice->bill_discount_amount == '0.00')
---
@else
{{ runtimeMoneyFormat($invoice->bill_discount_amount) }}
@endif
|
{{ runtimeDate($invoice->last_payment_date) }}
|
@if($invoice->last_payment_amount == '0.00')
---
@else
{{ runtimeMoneyFormat($invoice->last_payment_amount) }}
@endif
|
{{ $invoice->last_payment_method ?? '---' }}
|
{{ $invoice->last_payment_transaction_id ?? '---' }}
|
@if($invoice->count_attachments == 0)
---
@else
{{ $invoice->count_attachments }}
@endif
|
{{ runtimeDate($invoice->bill_publishing_scheduled_date ?? '') }}
|
{{ runtimeMoneyFormat($invoice->sum_payments) }}
|
{{ runtimeMoneyFormat($invoice->bill_final_amount) }} |
{{ runtimeMoneyFormat($invoice->invoice_balance) }}
|
{{
runtimeLang($invoice->bill_status) }}
@if($invoice->bill_publishing_type == 'scheduled' && $invoice->bill_publishing_scheduled_status == 'pending')
@endif
@if(config('system.settings_estimates_show_view_status') == 'yes' && auth()->user()->is_team &&
$invoice->bill_status != 'draft' && $invoice->bill_status != 'paid')
@if($invoice->bill_viewed_by_client == 'no')
@endif
@if($invoice->bill_viewed_by_client == 'yes')
@endif
@endif
|
@if(auth()->user()->is_client)
@endif
@if(config('visibility.action_buttons_delete'))
@endif
@if(config('visibility.action_buttons_edit'))
@endif
@if(auth()->user()->is_team)
@endif
|
@endforeach