Exemplo n.º 1
0
?>
            <h3>Sales Detail for {{$partyName->name}}</h3>
            <?php 
$saledetails = \App\SAleDetail::where('invoice_id', '=', $sale->invoice_id)->first();
$branchname = \App\Branch::find($saledetails->branch_id);
?>
            <h3>Branch Name : <?php 
echo $branchname->name;
?>
</h3>
            <p>Invoice Id : <?php 
echo $sale->invoice_id;
?>
</p>
            <p>Date : <?php 
echo \App\Transaction::convertDate($sale->created_at);
?>
</p>

        </div>
        <div class="modal-body">
            <table class="table table-striped table-bordered table-hover"  id="saleDetailtable">
                <thead style="background-color: #68bbec">
                <tr>
                    <th>Stock Name</th>
                    <th>Product Type</th>
                    <th>Product Name</th>
                    <th>Price</th>
                    <th>Quantity</th>
                    <th>Amount</th>
                    <th>Remarks</th>