IMMREX7

aku nok ndi : /home/spdtg/www/schoolmis/resources/views/schools/stock/
File Up :
aku nok ndi : /home/spdtg/www/schoolmis/resources/views/schools/stock/goodsreceived_note.blade.php

<!DOCTYPE html>
<html>
    <head>
        <!-- <meta charset="utf-8"> -->
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>School MIS</title>
        <!-- Tell the browser to be responsive to screen width -->
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <meta name="csrf-token" content="{{ csrf_token() }}">
        <style type="text/css">
            @page {
                header: page-header;
                footer: page-footer;
                margin-top: 20pt;
                margin-bottom: 10px;
            }
            section{

            }
            body {
                font-family: 'examplefont', sans-serif;
            }	
        </style>
    </head>

    <body>
        <!--<htmlpageheader name="page-header" >-->
        <table class="table">
            <tbody>
                <tr>
                    <td style="vertical-align: middle;text-align: left; width: 25%; padding: 0px; ">
                        <img src="{{ asset('storage/schools/'.$school->idSchool.'/'.$school->schoolLogo)}}" height="90" width="90">
                        <!--<br>-->
                        <strong>{{$school->schoolName}}</strong><br>
                        {{$school->street}} {{$school->landmark}} {{$school->subArea}} {{$school->area}} <br>
                        {{$school->city}}  {{$school->state->stateName}}<br>
                        <strong>Contact No : {{$school->mobile}}</strong><br>
                        <strong>Email : {{$school->email}}</strong><br>
                    </td>
<!--                    <th style="vertical-align: middle;text-align: right; width: 40%; padding: 0px; font-size: 30px;">
                        PURCHASE <br> ORDER 
                        <br>
                        <span style="font-size:14px;">PO NO: {{$po->poNo}}</span>
                    </th>-->
                </tr>
            </tbody>
        </table>
        <!--</htmlpageheader>-->
        <section>
            <div class="content">
                <p></p>
                <br>
                <table class="table">
                    <tbody>
                        <tr>
                            <td style="vertical-align: middle; width: 25%; padding: 0px; ">
                                <strong>P.O.No. : </strong>{{$po->poNo}}<br>
                            </td>
                            <td style="vertical-align: middle; width: 35%; padding-left: 80px;text-align: right;">
                                <strong>GRN NO. : </strong> {{$pr->receiptNo}}<br><br>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <br>
                <br>
                <table border="1" style="width:100% ;border-collapse: collapse;overflow: wrap;">
                    <tbody>
                        <tr>
                            <td style="text-align: center;">
                                <strong>Goods Received Note</strong>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <br>
                <table class="table">
                    <tbody>
                        <tr>
                            <td style="vertical-align: middle; width: 25%; padding: 0px; ">
                                <strong>Supplier : </strong>{{$po->supplier->bussinessName}}<br>
                            </td>
                            <td style="vertical-align: middle; width: 35%; padding-left: 80px;text-align: right;">
                                <strong>Date : </strong> {{$pr->receivedDate}}<br><br>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <br>
                <table border="1" style="width:100% ;border-collapse: collapse;overflow: wrap;">
                    <thead>
                        <tr style="border: 1px solid black;background:#A9A9A9; ">
                            <th style="border: 1px solid black;padding: 10px;">S.No.</th>
                            <th style="border: 1px solid black;">Goods</th>
                            <th style="border: 1px solid black;">Price</th>
                            <th style="border: 1px solid black;">Order Quantity</th>
                            <th style="border: 1px solid black;">Delivered Quantity</th>
                            <th style="border: 1px solid black;">Comments</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $i = 1; ?>
                        @foreach($po->details as $det)
                        <tr>
                            <td style="padding: 10px;">{{$i}}</td>
                            <td style="text-align: center;padding:10px;">{{$det->product->productName}}<br>{{$det->product->remarks}}</td>
                            <td style="text-align: center;">{{$det->rate}}</td>
                            <td style="text-align: center;">{{$det->quantity}}</td>
                            <td style="text-align: center;">
                                <?php
                                $prod_received = \App\ProductReceivedDetail::where('idProductReceived','=',$pr->idProductReceived)
                                        ->where('idProduct','=',$det->idProduct)
                                        ->first();
                                ?>
                                {{$prod_received->quantity}}
                            </td>
                            <td style="text-align: center;"></td>
                        </tr>
                        <?php $i++; ?>
                        @endforeach
                        <?php $i++; ?>
                        </tbody>
                </table>
                <br>
                <table class="table">
                    <tbody>
                        <tr>
                            <td style="vertical-align: middle; width: 25%; padding: 0px; ">
                                <strong>Received By : </strong>.................<br>
                            </td>
                            <td style="vertical-align: middle; width: 35%; padding-left: 80px;text-align: right;">
                                <strong>Checked By : </strong>.................<br><br>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </section>
    <htmlpagefooter name="page-footer" >
    </htmlpagefooter>

</body>
</html>

Copyright © 2021 - 2025 IMMREX7