<style>
    #billingStatementContent {
        margin-top: 16px;
        border-collapse: collapse;
        border: 1pt solid #1a202c
    }
    #billingStatementContent th {
        padding: 6px;
        border: 1px solid #1a202c;
        text-align: center;
    }
    #billingStatementContent td {
        padding: 2px;
        border: 1px solid #1a202c;
        text-align: center;
        height: 16px;
        font-size: 7pt;
    }
    #billingStatementTotal {
        border-collapse: collapse;
        border: 1px solid #1a202c;
    }
    #billingStatementTotal td {
        padding: 2px;
        height: 16px;
        font-size: 7pt;
    }
    #billingStatementConditions {
        margin-bottom: -128px;
        margin-left: 24px;
        width: 350px;
        border-collapse: collapse;
        /*background: #f1f1f1;*/
    }
    #billingStatementConditions td{
        padding: 2px 4px;
        height: 16px;
        font-size: 7pt;
    }
    #billingStatementHeader {
        margin-top: 8px;
        border-collapse: collapse;
    }
    #billingStatementHeader th, #billingStatementHeader td {
        padding: 2px;
    }
</style>

@extends('templates/report')

@section('reportTitle')
    <title style="font-weight: bold;">Billing Statement Sample</title>
@endsection

@section('reportHeader')
    <h2 class="tx-center">
        BILLING STATEMENT
    </h2>
    <h2 style="text-align: right; margin-top: -24px; color: red; padding-right: 16px">
        No: 09885
    </h2>
    <table id="billingStatementHeader">
        <tbody>
            <tr>
                <th style="width: 15%">Client : </th>
                <td class="border-bottom"></td>
                <th style="width: 2%"></th>
                <th style="width: 7%">Date: </th>
                <td class="border-bottom tx-center" style="width: 15%">09 Aug 2023</td>
            </tr>
            <tr>
                <th>TIN : </th>
                <td class="border-bottom"></td>
                <th></th>
                <th></th>
                <td></td>
            </tr>
            <tr>
                <th>Address : </th>
                <td class="border-bottom"></td>
                <th></th>
                <th>Terms: </th>
                <td class="border-bottom tx-center"> 15 days</td>
            </tr>
            <tr>
                <th>Business Style : </th>
                <td class="border-bottom"></td>
                <th></th>
                <th></th>
                <td></td>
            </tr>
        </tbody>
    </table>
@endsection

@section('content')
    <table id="billingStatementContent">
        <thead>
            <tr>
                <th colspan="5">DESCRIPTION</th>
                <th>AMOUNT</th>
            </tr>
            <tr>
                <th style="width: 4%">QTY</th>
                <th style="width: 13%">VOF No.</th>
                <th style="width: 10%">SO No.</th>
                <th>Model</th>
                <th style="width: 10%">Measurement <br> (CBM)</th>
                <th style="width: 20%"></th>
            </tr>
        </thead>
        <tbody>
        <tr>
            <td>4</td>
            <td>GMB023472</td>
            <td>019566</td>
            <td>STRADA GLS 2WD AT</td>
            <td>69.12</td>
            <td>89, 488.72</td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        </tbody>
    </table>

    <table id="billingStatementConditions">
        <tr>
            <td style="width: 30%">Condition
                <span style="float: right">:</span>
            </td>
            <td>Port to Door</td>
        </tr>
        <tr>
            <td>Port of Origin
                <span style="float: right">:</span>
            </td>
            <td>Batangas Port</td>
        </tr>
        <tr>
            <td>Port of Destination
                <span style="float: right">:</span>
            </td>
            <td>Sasa Port, Davao City</td>
        </tr>
        <tr>
            <td>Vessel
                <span style="float: right">:</span>
            </td>
            <td>MV Pearl Orient V-POS23025</td>
        </tr>
        <tr>
            <td>ATD
                <span style="float: right">:</span>
            </td>
            <td>JUL-30-2023 11:59 PM</td>
        </tr>
        <tr>
            <td>ATA
                <span style="float: right">:</span>
            </td>
            <td>JUL-03-2023 03:00 AM</td>
        </tr>
    </table>

    <table id="billingStatementTotal">
        <tr>
            <td colspan="3"></td>
            <td style="width: 20%;">Total :</td>
            <td class="tx-center" style="width: 20%">1,050,304.91</td>
        </tr>
        <tr>
            <td colspan="3"></td>
            <td>Bunker Adjusted Facic</td>
            <td class="tx-center"></td>
        </tr>
        <tr>
            <td colspan="3"></td>
            <td>Rate adjusted 9.99%</td>
            <td class="tx-center">104,925.46</td>
        </tr>
        <tr>
            <td colspan="3"></td>
            <td>Total Freight Charge :</td>
            <td class="tx-center">1,155,230.37</td>
        </tr>
        <tr>
            <td colspan="3"></td>
            <td>12% Value Added Tax :</td>
            <td class="tx-center">138,627.64</td>
        </tr>
        <tr>
            <td colspan="3"></td>
            <td>Less: EW 2%</td>
            <td class="tx-center">1,155,230.37</td>
        </tr>
        <tr>
            <td colspan="3"></td>
            <th>TOTAL AMOUNT DUE:</th>
            <th class="tx-center">1,270,753.40</th>
        </tr>
    </table>

    <table>
        <tbody>
        <tr>
            <th style="width: 60%"></th>
            <td style="width: 16px; vertical-align: bottom; padding-bottom: 16px">By: </td>
            <td class="tx-center" style="width: 30%; padding-top: 32px">
                <strong>TAKAAKI OZEKI / NAOYA OHE</strong>
                <br>
                <div class="border-bottom"></div>
                <span>Authorized Signature</span>
            </td>
        </tr>
        </tbody>
    </table>

    <footer class="tx-center">
        <p>
            THIS DOCUMENT IS NOT VALID FOR CLAIMING INPUT TAX
        </p>
        <P>"THIS BILLING STATEMENT SHALL BE VALID FOR FIVE(5) YEARS FROM THE DATE OF ATP"</P>
    </footer>
@endsection
