@extends('layouts.gym-merchant.gymbasic') @section('CSS') {!! HTML::style('admin/global/plugins/ladda/ladda-themeless.min.css') !!} {!! HTML::style('admin/global/plugins/bootstrap-select/css/bootstrap-select.min.css') !!} {!! HTML::style('admin/pages/css/invoice.min.css') !!} {!! HTML::style('admin/global/plugins/ladda/ladda-themeless.min.css') !!} @stop @section('content')
Generate Invoice

Customer

{{ ucwords($invoice->client_name) }}

Date

{{ $invoice->invoice_date->format('M d, Y') }}

Address

{{ ucwords($invoice->client_address) }}

@foreach($invoice->items as $key=>$item) @if($item->item_type == 'item') @endif @endforeach
# Item Total
{{ $key }} {{ ucfirst($item->item_name) }} {{ $gymSettings->currency->acronym }} {{ $item->amount }}
{{ ucwords($merchantBusiness->business->title) }} @if(!is_null($settings))
{{ ucfirst($settings->address) }}@endif @if(!is_null($settings))
P: {{ $settings->mobile }} @endif
  • Sub - Total amount: {{ $gymSettings->currency->acronym }} {{ round($invoice->sub_total, 2) }}
  • @foreach($invoice->items as $key=>$item) @if($item->item_type != 'item')
  • @if($item->item_type == 'discount')Discount:@else {{ strtoupper($item->item_name) }}: @endif {{ $gymSettings->currency->acronym }} {{ round($item->amount, 2) }}
  • @endif @endforeach
  • Grand Total: {{ $gymSettings->currency->acronym }} {{ round($invoice->total, 2) }}

@if($isDesktop) Download @endif Email
Invoice generated by: {{ ucwords($invoice->generated_by) }}
{{--Model--}} {{--Model End--}} @stop @section('footer') {!! HTML::script('admin/global/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js') !!} {!! HTML::style('admin/global/plugins/bootstrap-datepicker/css/bootstrap-datepicker3.min.css') !!} {!! HTML::script('admin/global/plugins/ladda/spin.min.js') !!} {!! HTML::script('admin/global/plugins/ladda/ladda.min.js') !!} {!! HTML::script('admin/pages/scripts/ui-buttons.min.js') !!} @stop