IMMREX7

aku nok ndi : /home/spdtg/www/schoolmis/resources/views/transaction/
File Up :
aku nok ndi : /home/spdtg/www/schoolmis/resources/views/transaction/print_receipt.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>
                    <th style="vertical-align: middle;text-align: center; width: 30%; padding: 0px; "><img src="{{ asset('storage/schools/'.$school->idSchool.'/'.$school->schoolLogo)}}" height="90" width="90"></th>
                    <th style="vertical-align: middle;text-align: center; width: 36%; padding: 0px; ">
                        <strong>{{$school->schoolName}}</strong><br>
                        {{$school->street}} {{$school->landmark}} {{$school->subArea}} {{$school->area}} <br>
                        {{$school->city}}  {{$school->state->stateName}}<br>
                        Contact No : {{$school->mobile}}
                    </th>
                </tr>
            </tbody>
        </table>
        <!--</htmlpageheader>-->
        <section>
            <div class="content">
                <table border="1" style="width:100% ;border-collapse: collapse;overflow: wrap;">
                    <thead>
                        <tr style="border: 1px solid black;">
                            <th style="border: 1px solid black;">Date</th>
                            <th style="border: 1px solid black;">Name</th>
                            <th style="border: 1px solid black;">Class</th>
                            <th style="border: 1px solid black;">Section</th>
                            <th style="border: 1px solid black;">Enrollment No.</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>{{$transaction->paymentDate}}</td>
                            <td>{{$student->firstName}}  {{$student->middleName}}  {{$student->lastName}}</td>
                            <td>{{$student->classM->className}}</td>
                            <td>{{$student->section->sectionName}}</td>
                            <td>{{$student->ecNo}}</td>
                        </tr>
                    </tbody>
                </table>
                <p></p>
                <table border="1" style="width:100% ;border-collapse: collapse;overflow: wrap;">
                    <thead>
                        <tr style="border: 1px solid black;">
                            <th style="border: 1px solid black;">Feehead</th>
                            <th style="border: 1px solid black;">Fee</th>
                            <th style="border: 1px solid black;">Fee Paid</th>
                            <th style="border: 1px solid black;">Discount</th>
                            <th style="border: 1px solid black;">Penalty</th>
                        </tr>
                    </thead>
                    <tbody>
                        @foreach($transaction->details as $det)
                        <tr>
                            <td>{{$det->feehead->feeheadName}}</td>
                            <td>{{$det->feehead->amount}}</td>
                            <td>{{$det->amountPaid}}</td>
                            <td>{{$det->discount}}</td>
                            <td>{{$det->fine}}</td>
                        </tr>
                        @endforeach

                        <tr>
                            <td colspan="2" style="height: 150px;">Remarks: Fee Paid By  : <strong>{{$transaction->paymentMode}}</strong><br>
                                @if($transaction->paymentMode != 'Cash')
                                Cheque/DD No. :  {{$transaction->chequeNo}}<br>
                                Cheque/DD Date : {{$transaction->chequeDate}}<br>
                                Bank Name : {{$transaction->bank->bankName}}<br>
                                Amount : {{$transaction->totalPaid}}<br>
                                @endif
                            </td>
                            <td colspan="3">Fee Rs.: 
                                {{figToWord($transaction->totalPaid)}} <br> 
                            </td>
                        </tr>
                        
                    </tbody>
                </table>
                <p>This is computer Generated Receipt.</p>
                <hr>

                <table class="table">
                    <tbody>
                        <tr>
                            <th style="vertical-align: middle;text-align: center; width: 30%; padding: 0px; "><img src="{{ asset('storage/schools/'.$school->idSchool.'/'.$school->schoolLogo)}}" height="90" width="90"></th>
                            <th style="vertical-align: middle;text-align: center; width: 36%; padding: 0px; ">
                                <strong>{{$school->schoolName}}</strong><br>
                                {{$school->street}} {{$school->landmark}} {{$school->subArea}} {{$school->area}} <br>
                                {{$school->city}}  {{$school->state->stateName}}<br>
                                Contact No : {{$school->mobile}}
                            </th>
                        </tr>
                    </tbody>
                </table>
                <table border="1" style="width:100% ;border-collapse: collapse;overflow: wrap;">
                    <thead>
                        <tr style="border: 1px solid black;">
                            <th style="border: 1px solid black;">Date</th>
                            <th style="border: 1px solid black;">Name</th>
                            <th style="border: 1px solid black;">Class</th>
                            <th style="border: 1px solid black;">Section</th>
                            <th style="border: 1px solid black;">Enrollment No.</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>{{$transaction->paymentDate}}</td>
                            <td>{{$student->firstName}}  {{$student->middleName}}  {{$student->lastName}}</td>
                            <td>{{$student->classM->className}}</td>
                            <td>{{$student->section->sectionName}}</td>
                            <td>{{$student->ecNo}}</td>
                        </tr>
                    </tbody>
                </table>
                <p></p>
                <table border="1" style="width:100% ;border-collapse: collapse;overflow: wrap;">
                    <thead>
                        <tr style="border: 1px solid black;">
                            <th style="border: 1px solid black;">Feehead</th>
                            <th style="border: 1px solid black;">Fee</th>
                            <th style="border: 1px solid black;">Fee Paid</th>
                            <th style="border: 1px solid black;">Discount</th>
                            <th style="border: 1px solid black;">Penalty</th>
                        </tr>
                    </thead>
                    <tbody>
                        @foreach($transaction->details as $det)
                        <tr>
                            <td>{{$det->feehead->feeheadName}}</td>
                            <td>{{$det->feehead->amount}}</td>
                            <td>{{$det->amountPaid}}</td>
                            <td>{{$det->discount}}</td>
                            <td>{{$det->fine}}</td>
                        </tr>
                        @endforeach
                        <tr>
                            <td colspan="2" style="height: 150px;">Remarks: Fee Paid By  : <strong>{{$transaction->paymentMode}}</strong><br>
                                @if($transaction->paymentMode != 'Cash')
                                Cheque/DD No. :  {{$transaction->chequeNo}}<br>
                                Cheque/DD Date : {{$transaction->chequeDate}}<br>
                                Bank Name : {{$transaction->bank->bankName}}<br>
                                Amount : {{$transaction->totalPaid}}<br>
                                @endif
                            </td>
                            <td colspan="3">Fee Rs.: 
                                {{figToWord($transaction->totalPaid)}} <br> 
                            </td>
                        </tr>
                        
                    </tbody>
                </table>
            </div>
        </section>
    <htmlpagefooter name="page-footer" >
    </htmlpagefooter>

</body>
</html>

Copyright © 2021 - 2025 IMMREX7