@extends('layouts/billing_layout') @section('title', '| Sales') @section('content') @include('successMsg') @include('convert_word')
| SL | Particular | Price | Qty | Amount | ||||
|---|---|---|---|---|---|---|---|---|
| {{ ++$no }} | @if ($receiveAllDataBySalesId->branchTypeId == 1){{ $receiveAllDataBySalesId->name }} Bill for the Head Office | @elseif ($receiveAllDataBySalesId->branchTypeId == 2){{ $receiveAllDataBySalesId->name }} Bill for the Branch Office | @elseif ($receiveAllDataBySalesId->branchTypeId === '' || $receiveAllDataBySalesId->branchTypeId === null){{ $receiveAllDataBySalesId->name }} Bill | @elseif (!empty($receiveAllDataBySalesId->description)){{ $productName }}- {!! nl2br(e($receiveAllDataBySalesId->description)) !!} | @else{{ $receiveAllDataBySalesId->name }} Software Bill | @endif{{ $receiveAllDataBySalesId->unitPrice }} | {{ $receiveAllDataBySalesId->branchQuantity }} | {{ $receiveAllDataBySalesId->totalAmount }} | @php $totalQuantity += $receiveAllDataBySalesId->branchQuantity; $totalAmountOfSales += $receiveAllDataBySalesId->totalAmount; @endphp
| Total | {{ $totalQuantity }} | {{ $totalAmountOfSales }} | ||||||