@extends('admin.layouts.app') @section('title', 'Invoice') @section('content') Invoice Home 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)) : ''}} Description Days Unit Price Amount $ $ @foreach($invoice->invoiceExtra as $invoiceExtra) - - $ @endforeach Add SubTotal${{$invoice->sub_total}} Tax({{$invoice->gst_percentage}}%)${{$invoice->gst}} Total Amount${{$invoice->total}} @endsection @section('script') @endsection
Invoice
Total Amount${{$invoice->total}}