@extends('layouts.app') @section('header')
@endsection @section('content') @php $address = \Config::get('formdata.address'); @endphp
{{ $address['name'] }}
{{ $address['add1'] }}
{{ $address['add2'] }}
{{ $address['phone'] }}
Purchase Information
Purchase Date: {{ date('d-m-Y', strtotime($purchase_details->created_at)) }}
Purchase Id:      {{ $purchase_details->code }}
Supplier Information :
Name: {{ $purchase_details->supplier_name }}

Address: {{ $purchase_details->supplier_address }}

Payment Mode :{{ \FormHelper::getPaymentText($purchase_details->mode) }}
@foreach($purchase_list as $list) @endforeach
Stock Catagory Name No.of.Units Cost/Unit GST Total
{{ $list->category_name }} {!! wordwrap($list->stock->stock_name,15,"
",true) !!}
{{ $list->purchase_quantity }} {{ $list->purchase_cost }} {{ $list->gst }} {{ $list->sub_total }}
Tax Summary
Taxable Amount IGST CGST SGST Kerala Flood cess @1%
{{ number_format($purchase_details->grand_total - $purchase_details->tax_amount,2) }} 0.0 {{ number_format($purchase_details->tax_amount/2,2) }} {{ number_format($purchase_details->tax_amount/2,2) }} 0.0
Purchase total : {{ ($purchase_details->purchase_total - $purchase_details->tax_amount) }}
Discount ( {{ $purchase_details->discount_percent }}% ) : {{ $purchase_details->discount_amount }}
Tax : {{ $purchase_details->tax_amount }}
Kerala Flood cess @1% 0.0
Total : {{ $purchase_details->grand_total - $purchase_details->round_off_amount }}
Rounded Off Amount : {{ $purchase_details->round_off_amount }}

Grand Total :

{{ $purchase_details->grand_total }}
Terms And Condition :

{{ \Config::get('formdata.billing_tc') }}

@endsection @section('scripts') @endsection