@extends('layouts.backend')
@section('styles')
@endsection
@section('page-header')
@endsection
@section('content')
- {{app(App\Settings\CompanySettings::class)->company_name}}
- {{app(App\Settings\CompanySettings::class)->address}}
- {{app(App\Settings\CompanySettings::class)->email}}
- {{app(App\Settings\CompanySettings::class)->phone}}
Invoice {{$invoice->inv_id}}
- Date: {{date_format(date_create($invoice->invoice_date),'d M, Y')}}
- Due date: {{date_format(date_create($invoice->due_date),'d M, Y')}}
Invoice to:
{{$invoice->client->firstname.' '.$invoice->client->lastname}}
- {{$invoice->client->company}}
- {{$invoice->client_address}}
- {{$invoice->client->phone}}
- {{$invoice->client->email}}
| # |
ITEM |
DESCRIPTION |
UNIT COST |
QUANTITY |
TOTAL |
@foreach ($invoice->items as $item)
| {{$item['id']}} |
{{$item['name']}} |
{{$item['description']}} |
{{app(App\Settings\ThemeSettings::class)->currency_symbol.' '.$item['unit_cost']}} |
{{$item['quantity']}} |
{{app(App\Settings\ThemeSettings::class)->currency_symbol.' '.$item['amount']}} |
@endforeach
| Subtotal: |
$7,000 |
| Tax: ({{$invoice->tax->percentage}}%) |
{{app(App\Settings\ThemeSettings::class)->currency_symbol.' '.(($invoice->tax->percentage/100) * $invoice->total)}} |
| Total: |
{{app(App\Settings\ThemeSettings::class)->currency_symbol.' '.$invoice->total}} |
Other information
{{$invoice->note}}
@endsection
@section('scripts')
@endsection