@extends('layouts.master') @section('page_title', 'Edit Billing') @section('title', 'Edit Billing') @section('main_item', 'Edit Billing') @section('content') @if (session('pdf')) @endif
{{-- --}}


Add
business_location != '1') style="display: none" @endif>
@csrf @method('PUT')
@foreach ($sale->saleItems as $count => $item) @endforeach
Image Product Quantity Selling Price Line Total
@php $product = App\Product::find($item->product_id); if (!empty($product->parent_product_id)) { $product = App\Product::find($product->parent_product_id); } @endphp @if (!empty($product->image)) @else @endif {{ $item->product->product_name . ', ' . $item->attribute_value }} {{ $item->sale_line_total }}
{{-- --}}

@include('sale.product_list')

Add Payment

@error('invoice_total') @enderror
{{--
@error('addi_charge') @enderror
--}}
@php $percentage = 0; if ($sale->discount_type == 'fixed') { $percentage = $sale->invoice_discount; } else { if ($sale->invoice_discount != 0) { $percentage = ($sale->invoice_discount / $sale->invoice_total) * 100; } } @endphp
@endsection @section('scripts') @endsection