@extends('template.app') @section('meta') @endsection @section('title') Dealer Invoice Create @endsection @section('styles') @endsection @section('content')
@if($data->inventory_id == NULL)
@else
@csrf @method('POST')

Dealer Vehicle Tax Invoice


@php $cgst = $data->cgst ?? 0; $sgst = $data->sgst ?? 0; $igst = $data->igst ?? 0; $purchase_price = $data->on_road_price ?? 0; $discount = $data->discount ?? 0; $final_total = 0; if($data->discount_type == 'discount_plus'){ $final_total = $purchase_price + $cgst + $sgst + $igst + $discount; } else if($data->discount_type == 'discount_minus'){ $final_total = $purchase_price - $discount + $cgst + $sgst + $igst; } else { $final_total = $purchase_price + $cgst + $sgst + $igst; } @endphp
PARTICULARS AMOUNT(Rs)
{{ isset($data->product_name) ? $data->product_name : '' }} {{ isset($data->on_road_price) ? $data->on_road_price : '' }}
IGST ({{$gst_tax_percentage}}%) {{round($data->igst)}}
CGST ({{$gst_tax_percentage/2}}%) {{round($data->cgst)}}
SGST ({{$gst_tax_percentage/2}}%) {{round($data->sgst)}}
Compensation Cess ({{$cess_tax_percentage}}%) {{round($data->compensation_cess)}}
@if($data->discount_type == 'discount_plus') Discount ( + ) @elseif($data->discount_type == 'discount_minus') Discount ( - ) @else Discount ( + / - ) @endif {{round($data->discount)}}
TOTAL {{round($final_total)}}
TCS @1% {{$data->tcs_tax}}
GRAND TOTAL {{round($data->grand_total)}}
Vehicle Particulars
Vin No Chassis No Engine No Key No HSN No
{{ isset($data->vin_number) ? $data->vin_number : '' }} {{ isset($data->chassis_number) ? $data->chassis_number : '' }} {{ isset($data->engine_number) ? $data->engine_number : '' }} {{ isset($data->key_number) ? $data->key_number : '' }} {{ isset($data->hsn_code) ? $data->hsn_code : '' }}
Back
@endif
@endsection @section('scripts') @endsection