@if ($selected) @endif
{{ __('Date') }} {{ __('Customer') }} {{ __('Total') }} {{ __('Status') }} @forelse ($quotations as $quotation) {{ $quotation->date }} {{ $quotation->customer->name }} {{ format_currency($quotation->total_amount) }} @php $badgeType = $quotation->status->getBadgeType(); @endphp {{ $quotation->status->getName() }} @can('quotation_sale') {{ __('Make Sale') }} @endcan @can('send_quotation_mails') {{ __('Send Mail') }} @endcan @can('quotation_update') {{ __('Edit') }} @endcan @can('quotation_access') {{ __('View') }} @endcan @can('quotation_delete') {{ __('Delete') }} @endcan @empty
{{ __('No results found') }}
@endforelse
{{ $quotations->links() }}
{{ __('Show Quotation') }} - {{ $quotation?->reference }}
@if ($quotation != null) {{ __('Print') }} @endif
{{ __('Company Info') }}:
{{ settings()->company_name }}
{{ settings()->company_address }}
@if (settings()->show_email == true)
{{ __('Email') }}: {{ settings()->company_email }}
@endif
{{ __('Phone') }}: {{ settings()->company_phone }}
{{ __('Customer Info') }}:
{{ $quotation?->customer->name }}
@if (settings()->show_address == true)
{{ $quotation?->customer->address }}
@endif @if (settings()->show_email == true)
{{ __('Email') }}: {{ $quotation?->customer->email }}
@endif
{{ __('Phone') }}: {{ $quotation?->customer->phone }}
{{ __('Invoice Info') }}:
{{ __('Invoice') }}: {{ $quotation?->reference }}
{{ __('Date') }}: {{ format_date($quotation?->date) }}
{{ __('Status') }}: {{ $quotation?->status }}
{{ __('Product') }} {{ __('Net Unit Price') }} {{ __('Quantity') }} {{ __('Discount') }} {{ __('Tax') }} {{ __('Sub Total') }} @if ($quotation != null) @foreach ($quotation?->quotationDetails as $item) {{ $item->name }}
{{ $item->code }}
{{ format_currency($item->unit_price) }} {{ $item->quantity }} {{ format_currency($item->product_discount_amount) }} {{ format_currency($item->product_tax_amount) }} {{ format_currency($item->sub_total) }}
@endforeach @endif
{{ __('Discount') }} ({{ $quotation?->discount_percentage }}%) {{ format_currency($quotation?->discount_amount) }} {{ __('Tax') }} ({{ $quotation?->tax_percentage }}%) {{ format_currency($quotation?->tax_amount) }} {{ __('Shipping') }} {{ format_currency($quotation?->shipping_amount) }} {{ __('Grand Total') }} {{ format_currency($quotation?->total_amount) }}
@push('scripts') @endpush