@extends(JobBoardHelper::viewPath('dashboard.layouts.master')) @section('content')
{{ $invoice->company_name }}

{{ trans('plugins/job-board::invoice.heading') }}

{{ $invoice->customer_name }}

{{ $invoice->customer_email }}

{{ $invoice->customer_phone }}

{{ $invoice->customer_address }}

@if ($invoice->tax_id)

{{ trans('plugins/job-board::invoice.detail.tax_id') }}: {{ $invoice->tax_id }}

@endif
{{ trans('plugins/job-board::invoice.detail.code') }}: #{{ $invoice->code }}
{{ trans('plugins/job-board::invoice.detail.issue_at') }}: {{ $invoice->created_at->translatedFormat('j F, Y') }}
{{ trans('plugins/job-board::invoice.payment_method') }}: {{ $invoice->payment->payment_channel->label() }}
{{ trans('plugins/job-board::invoice.detail.description') }} {{ trans('plugins/job-board::invoice.detail.qty') }} {{ trans('plugins/job-board::invoice.total_amount') }} @foreach ($invoice->items as $item)

{{ $item->name }}

@if ($item->description) {{ $item->description }} @endif
{{ $item->qty }} {{ format_price($item->sub_total) }}
@endforeach {{ trans('plugins/job-board::invoice.detail.sub_total') }}: {{ format_price($invoice->sub_total) }} @if ($invoice->tax_amount > 0) {{ trans('plugins/job-board::invoice.detail.tax') }}: {{ format_price($invoice->tax_amount) }} @endif @if ($invoice->shipping_amount > 0) {{ trans('plugins/job-board::invoice.detail.shipping_fee') }}: {{ format_price($invoice->shipping_amount) }} @endif @if ($invoice->discount_amount > 0) {{ trans('plugins/job-board::invoice.detail.discount') }}: {{ format_price($invoice->discount_amount) }}

({{ $invoice->coupon_code }})

@endif {{ trans('plugins/job-board::invoice.detail.grand_total') }}: {{ format_price($invoice->amount) }} {{ trans('plugins/job-board::invoice.total_amount') }}: {{ format_price($invoice->amount) }}
{{ trans('plugins/job-board::invoice.detail.issue_at') }}:
{{ $invoice->created_at->format('j F, Y') }}
{{ trans('plugins/job-board::invoice.detail.invoice_to') }}:
{{ $invoice->company_name }}
@if ($invoice->tax_id)
{{ trans('plugins/job-board::invoice.detail.tax_id') }}:
{{ $invoice->tax_id }}
@endif
{{ trans('plugins/job-board::invoice.print') }} {{ trans('plugins/job-board::invoice.download') }}
@endsection