@extends('admin.layouts.app') @section('title', 'Invoice') @section('content')

Invoice

@csrf

Invoice

  • To: @if ($booking->createdBy->roles->first()->id == '2') {{$booking->user->name ?? ($booking->user->firstname.' '. $booking->user->lastname)}} @else {{$booking->createdBy->name ?? ($booking->createdBy->firstname.' '. $booking->createdBy->lastname)}} @endif

Invoice

  • ID:#{{$invoice->id}}
  • Creation Date: {{$invoice->created_at ? date("M d,Y", strtotime($invoice->created_at)) : ''}}
@foreach($invoice->invoiceExtra as $invoiceExtra) @endforeach
Description Days Unit Price Amount
$
$
- -
$
Add
  • SubTotal${{$invoice->sub_total}}
  • Tax({{$invoice->gst_percentage}}%)${{$invoice->gst}}

Total Amount${{$invoice->total}}

@endsection @section('script') @endsection