{{ $purchase->business->name }}{{-- --}} {{-- {{$company->company_address}},{{$company->city}}, Tanzania --}} {{-- Mob: {{$company->compny_phone}} Email: {{$company->company_email}}--}} {{-- --}} @if(!empty($purchase->location->city) || !empty($purchase->location->state) || !empty($purchase->location->country)) {{implode(',', array_filter([$purchase->location->city, $purchase->location->country]))}} @endif @if(!empty($purchase->location->mobile)) @lang('contact.mobile'): {{$purchase->location->mobile}}, @lang('business.email') : {{$purchase->location->email}} @endif @if(!empty($purchase->business->tax_number_1)) {{$purchase->business->tax_label_1}}: {{$purchase->business->tax_number_1}}, @endif @if(!empty($purchase->business->tax_number_2)) {{$purchase->business->tax_label_2}}: {{$purchase->business->tax_number_2}} @endif |
|
|
S/N | ITEM DESCRIPTION | QUANTITY | PRICE | TAX | UNIT COST before Disc. |
DISCOUNT | UNIT COST | {{--@lang('purchase.unit_cost_after_tax') | --}}SUBTOTAL |
---|---|---|---|---|---|---|---|---|---|
{{$i}} | {{ $purchase_line->product->name }} @if( $purchase_line->product->type == 'variable') - {{ $purchase_line->variations->product_variation->name}} - {{ $purchase_line->variations->name}} @endif | {{ $purchase_line->quantity }}
@if(!empty($purchase_line->sub_unit))
{{$purchase_line->sub_unit->short_name}}
@else
{{$purchase_line->product->unit->short_name}}
@endif
@if(!empty($purchase_line->product->second_unit) && $purchase_line->secondary_unit_quantity != 0)
{{ $purchase_line->secondary_unit_quantity }} {{$purchase_line->product->second_unit->short_name}} @endif |
{{ number_format($purchase_line->pp_without_discount)}} | {{ number_format($purchase_line->item_tax) }}
{{-- @if(!empty($taxes[$purchase_line->tax_id])) ( {{ $taxes[$purchase_line->tax_id]}}) @endif--}} |
{{ number_format($purchase_line->purchase_price_inc_tax)}} | {{ number_format($purchase_line->discount_amount)}} | {{ number_format($purchase_line->unit_cost) }} | {{ number_format($purchase_line->unit_cost * $purchase_line->quantity) }} | |
@lang('purchase.net_total_amount'): | {{ number_format($total_before_tax) }} | ||||||||
@lang('purchase.discount'): | (-) {{-- @if($purchase->discount_type == 'percentage')--}} {{-- ({{$purchase->discount_amount}} %)--}} {{-- @endif--}} | {{number_format($total_discount_amount)}} | |||||||
@lang('purchase.purchase_tax'): | (+) | {{number_format($total_purchase_taxes)}} | |||||||
@lang('purchase.additional_shipping_charges'): | (+) | {{ number_format($purchase->shipping_charges) }} | |||||||
@lang('purchase.purchase_total'): | {{ number_format($total_before_tax+$total_purchase_taxes+$purchase->shipping_charges-$total_discount_amount) }} |
@lang('purchase.net_total_amount'): | --}} {{----}} {{-- | {{ number_format($total_before_tax) }}--}} {{-- | --}} {{--
---|---|---|
@lang('purchase.discount'): | --}} {{----}} {{-- (-)--}} {{-- --}}{{-- @if($purchase->discount_type == 'percentage')--}} {{-- --}}{{-- ({{$purchase->discount_amount}} %)--}} {{-- --}}{{-- @endif--}} {{-- | --}} {{----}} {{-- --}} {{-- @if($purchase->discount_type == 'percentage')--}} {{-- {{number_format($purchase->discount_amount * $total_before_tax / 100)}}--}} {{-- @else--}} {{-- {{number_format($purchase->discount_amount)}}--}} {{-- @endif--}} {{-- --}} {{-- | --}} {{--
@lang('purchase.purchase_tax'): | --}} {{--(+) | --}} {{----}}
{{-- @if(!empty($purchase_taxes))--}}
{{-- @foreach($purchase_taxes as $k => $v)--}}
{{-- {{$k}} - {{ $v }}--}}
{{-- --}} {{-- @endforeach--}} {{-- @else--}} {{-- 0.00--}} {{-- @endif--}} {{-- | --}}
{{--
@lang('purchase.additional_shipping_charges')--}} {{-- :--}} {{-- | --}} {{--(+) | --}} {{--|
@lang('purchase.purchase_total'): | --}} {{----}} {{-- | {{ number_format($purchase->final_total) }}--}} {{-- | --}} {{--
--}} {{-- @if($purchase->additional_notes)--}} {{-- {{ $purchase->additional_notes }}--}} {{-- @else--}} {{-- ----}} {{-- @endif--}} {{--
--}} {{--