@extends('layouts.app') @section('title','Sale Billings') @section('pages')
Customer

{!! $customer['name'] ?? '' !!}

{!! isset($customer['phone_no']) && $customer['phone_no'] != '' ? ' ' . $customer['phone_no'] : '' !!}

Doctor
@if(!empty($doctors))

{!! $doctors['name'] ?? '' !!}

{!! isset($doctors['phone_no']) && $doctors['phone_no'] != '' ? ' ' . $doctors['phone_no'] : '' !!}

{!! isset($doctors['gender']) && $doctors['gender'] != '' ? ' ' . $doctors['gender'] : '' !!}{!! isset($doctors['date_of_birth']) && $doctors['date_of_birth'] != '' ? ', ' . $doctors['date_of_birth'] : '' !!}

@else

Self

@endif
{{--
Center
@if(!empty($refferal_lab))

{!! $refferal_lab['name'] ?? '' !!}

{!! isset($refferal_lab['phone_no']) && $refferal_lab['phone_no'] != '' ? ' ' . $refferal_lab['phone_no'] : '' !!}

{!! isset($refferal_lab['gender']) && $refferal_lab['gender'] != '' ? ' ' . $refferal_lab['gender'] : '' !!}

{!! isset($refferal_lab['date_of_birth']) && $refferal_lab['date_of_birth'] != '' ? ' ' . $refferal_lab['date_of_birth'] : '' !!}

@else

Self

@endif
Agent
@if(!empty($collection_agent))

{!! $collection_agent['name'] ?? '' !!}

{!! isset($collection_agent['phone_no']) && $collection_agent['phone_no'] != '' ? ' ' . $collection_agent['phone_no'] : '' !!}

{!! isset($collection_agent['gender']) && $collection_agent['gender'] != '' ? ' ' . $collection_agent['gender'] : '' !!}

{!! isset($collection_agent['date_of_birth']) && $collection_agent['date_of_birth'] != '' ? ' ' . $collection_agent['date_of_birth'] : '' !!}

@else

Self

@endif
--}}
@csrf @method('Patch')
Sale Details


@if(isset($accounting_group) && count($accounting_group) > 0) @foreach($accounting_group as $key => $list) @endforeach @else @endif @if($discount_group) @php $discountPercentage = ($sale_invoice->discount_amount/$data['amount'])*100; @endphp @endif @if($round_off) @endif
Transaction Mode Transaction Reference Advance Amount
{{$list->name ?? ''}}
No Data Found
{{$discount_group->name ?? ''}}
{{$round_off->name ?? ''}}
Transactions

@if(in_array('receipt-voucher-edit', $authRolePermissions)) @endif @php $i=1;@endphp @if(count($allTransactionData)>0) @foreach($allTransactionData as $key=> $list) @if(in_array('receipt-voucher-edit', $authRolePermissions)) @endif @php $i++; @endphp @endforeach @else @endif
Serial No Receipt Date Receipt No AmountEdit
{{$i}} {{ formatedDate($list->receipt_date) }}
{{ formatedTime($list->receipt_time) }}
{{$list->receipt_no}}
@if($list->advance_received=='Yes' && $list->settlement_status=='Yes') {{ 'Advance Adjusted' }} @elseif($list->advance_received=='Yes') {{ $list->advance_received=='Yes'?'Advance Receipt':'' }} @endif
{{ isset($list->accountReceiptDetail->amount) ? convertDecimelPoint(round($list->accountReceiptDetail->amount)) : '' }}
No Data Found
Additional Details

{{-- @dd(auth()->user()->getComapnyDetails->getCompanyAddress->address_1); --}} {{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
@endsection @section('js') @endsection