<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        
        <style rel="css/stylesheets">

            html{
                font-size:9pt;
                font-family: Arial, 
                    Helvetica, sans-serif;
            }
            @media print {
    .pageC { 
        width: 8.5in;
        height: 12in;
    }
}
@page {     

   
    /* this affects the margin in the printer settings */ 
    margin: 10mm 10mm 5mm 10mm;  
} 

            .tb {
                border : 1px solid black;
                height: 20px;
                width: 200px;
                padding: 5px 1px 0 10px;
            }
            #tablePart3 td{
                border-left : 2px solid black;
            }

            .corner{
                position :relative;
                width :25px;
                height: 25px;
                margin-bottom: 2px;
                margin-top: 2px;
            }
            .topRight{
                border-right: 2px solid black;
                border-top: 2px solid black;
                float: right;
                top: -30px;

            }

            .barcode{
                height: 35px;
                left: 20px;
                position: relative;
                top: -15px;
                width: 100px;
            }
            .topLeft {
                border-top : 2px solid black;
                border-left: 2px solid black;
                right:0;
                top:0;
            }
            .bottomRight {
                border-bottom: 2px solid black;
                border-right: 2px solid black;
                right:0;
                bottom:0;
                float: right;
                top: -30px;
            }
            .bottomLeft {
                border-bottom: 2px solid black;
                border-left: 2px solid black;
                left:0;
                bottom:0;
            }

            .bar{
                width :98%;
                height: 50px;
                padding: 5px 2px 0;
                margin: auto;
                margin-bottom : 6px;
                text-align: center;
                font-weight: bold;
                font-size: 16px;
            }
            body {
                width: 80%;
                /* to centre page on screen*/
                margin-left: auto;
                margin-right: auto;
            }

            .page{
                height: auto;
                /* to centre page on screen*/
                margin-left: auto;
                margin-right: auto;
            }

            .pageHeader{
                height: 40px;
                width: 100%;
            }

            .pageBody{
                width: 99%;
                border: 2px solid black;
                height: 85%;
                margin: auto;
            }

            .pageFooter{
                margin-top: 10px;
                width:100%;
                height: 30px;
                bottom: 0;
            }
            .footElem{
                width: 97%;
            }
            
             .no-print{
                    width:90%;
                    text-align: center;
                    position: absolute;
                    top : 0;
                    padding-bottom: 20px;
                }

            @media print {
                .no-print{
                    display: none !important; 
                }
                .pageBody{
                    border-top: 2px solid black;
                    border-bottom: 2px solid black;
                }
                body {
                    width: 99%;
                    margin: 0;
                }
                .page{
                    page-break-after : always;
                }
                .tb {
                    border : 1px solid black;
                    height: 17px;
                    width: 200px;
                    padding: 5px 1px 0 10px;
                }
                .footElem{
                    width: 750px;
                }
            }

            .topHeader{
                border-bottom : 2px solid black;
                width : 100%;
                height : 50px;
            }

        </style>
        <script>
         function do_print() {
                window.print();
            }
            
        </script>
    </head>
    
    <body>
         <?php if ($rptData) { 
             $row = $rptData[0];
             if($row->C19g==0)
                 $row->C19g =1;
         
?>
        <div class="no-print">
            
              <button title="Print" class="btn-form btn-success-form Print" onclick="do_print()" type="button" name="Print">Print</button> 
                            <button title="Close" class="btn-form btn-danger-form Close" onclick="javascript:window.close();" type="button" name="Close">Close</button>     
        </div>
       
        <div class="page">
            <div class="pageC" style="width:100%; height:100%;">
                <div class="pageHeader">
                    <div class="corner topLeft"></div>
                    <div class="corner topRight"></div>

                    <div class="barcode">
                        <img class="barcode" src="<?php echo base_url(); ?>/img/gst03.png" />
                    </div>
                    <span style="line-height: 1.4; position: relative; font-weight: 600; font-size: 14px; float: right; top: -60px; right: 10px;">P.U. (A) 190</span>

                </div>



                <div class="pageBody">
                    <table style="width:100%;">
                        <tr>
                            <td style="width:20%; text-align: left;">
                                <img style="width: 110px; margin-left: 30px;" src="<?php echo base_url(); ?>img/gst03CountryLogo.png" />
                            </td>
                            <td style="width: 60%; text-align: center; font-weight: bold; font-size: 15px; line-height: 1.2;">
                                JABATAN KASTAM DIRAJA MALAYSIA <br/>
                                <i> ROYAL MALAYSIAN CUSTOMS DEPARTMENT  </i><br/> <br/>

                                PENYATA CUKAI BARANG DAN PERKHIDMATAN <br/>
                                <i>GOODS AND SERVICES TAX RETURN </i>
                            </td>
                            <td valign="top" style="width:20%; text-align: center;">
                                <div style="padding-right:20px;  float: right; "><img style="height: 40px; width: 100px;" src="<?php echo base_url(); ?>/img/gst03txt.png" /></div>
                            </td>
                        </tr>
                    </table>

                    <fieldset style="border-radius: 10px; border: 1px solid black; margin: auto; width: 96%;">
                        <legend style="padding: 5px; font-size: 14px; font-weight: bold; border: 1px solid black; border-radius: 5px;">
                            Nota Penting (Important Notes)  
                        </legend>
                        <ol style="margin:0;">
                            <li>
                                Sila isikan borang ini dengan  menaip menggunakan <b>HURUF BESAR</b> <br/>
                                <i>Please type in using <b>BLOCK LETTERS</b></i> 
                            </li>
                            <li>
                                Sila rujuk Buku Panduan Mengisi Borang Cukai Barang dan Perkhidmatan (CBP)  .<br/>
                                <i>Please refer to Goods and Services Tax (GST)   Forms Guide.</i>
                            </li>
                            <li>
                                Ruangan yang bertanda (*)   adalah wajib diisi. <br/>
                                <i>Column with (*)   is a mandatory field.</i>
                            </li>
                            <li>
                                Sila tandakan ( X )   dalam petak yang berkenaan.<br/>
                                <i>Please tick ( X )   accordingly.</i> 
                            </li>
                            <li>
                                Sekiranya mengikrar nilai sifar, sila isi angka "0".<br/>
                                <i>If declaring a zero amount, please fill in "0".</i>
                            </li>
                            <li>
                                Sila hubungi Pusat Panggilan Kastam di talian 1-300-88-8500 / 03-78067200 atau emel : ccc@customs.gov.my
                                untuk pertanyaan lanjut.<br/>
                                <i>Please contact Customs Call Center at :1-300-88-8500 / 03-78067200 or email ccc@customs.gov.my for further enquiry.</i>
                            </li>
                        </ol>
                    </fieldset>
                    <div style="width: 200px; margin-top: 10px; height: 42px; padding: 1px 0px 0px 10px;">

                        <div style="width: 15px; border: 1px solid black; height: 15px; font-size: 12px; padding: 1px 1px 1px 6px;">
                             <?php
                                            if($row->ammendment==1){
                                                echo 'X'; 
                                            }
                                        ?>
                        </div> 
                        <div style="font-weight: bold; font-size: 17px; position: relative; top: -24px; left: 26px;">
                            Pindaan<br/>
                            <i>Amendment</i>
                        </div>
                    </div>
                    <div class="bar">
                        <div>
                            BAHAGIAN A : BUTIRAN ORANG BERDAFTAR  <br/>
                            <i>PART A :  DETAILS OF REGISTERED PERSON </i>
                        </div>
                        <img style="position: relative; left: 0px; top: -46px; width: 100%; height: 100%; z-index: -1;" src="<?php echo base_url(); ?>/img/gstBgRpt.png" />
                    </div>

                    <table style="width:97%; margin: auto;">
                        <tbody>
                            <tr>
                                <td style="width:25%">
                                    1) No. CBP * <br/>
                                    <span style="padding-left:13px;"></span><i>GST No. *</i>
                                </td>
                                <td style="width:60%">
                                    <div class="tb">
                                      <?php echo $row->A1; ?>  
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td valign="top" style="width:40%">
                                    2) Nama Perniagaan *<br/>
                                    <span style="padding-left:13px;"></span><i>Name Of Business *</i>
                                </td>
                                <td valign="top" style="width:60%">
                                    <div class="tb" style="height: 35px; width: 99%; margin-bottom: 12px;">
                                        <?php echo $row->A2; ?>  
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>

                    <div class="bar">
                        <div>
                            BAHAGIAN B : BUTIRAN PENYATA  <br/>
                            <i>PART B : DETAILS OF RETURN </i>
                        </div>
                        <img style="position: relative; left: 0px; top: -46px; width: 100%; height: 100%; z-index: -1;" src="<?php echo base_url(); ?>/img/gstBgRpt.png" />
                    </div>

                    <table style="width:97%; margin: auto;">
                        <tbody>
                            <tr>
                                <td style="width:40%;" valign="top">
                                    3) Tempoh Bercukai *<br/>
                                    <span style="padding-left:13px;"></span><i>Taxable Period *</i>
                                </td>
                                <td style="width:60%;">
                                    <div style="width: 100%; height: 50px;" >
                                        <div style="width:100px;">
                                            Tarikh Mula <br/>
                                            <i>Start Date</i>
                                        </div>
                                        <div style="position: relative; width: 300px;; top: -30px; left: 100px;">
                                            <div class="tb">
                                                <?php echo date('d-m-Y', strtotime($row->B3a)); ?>
                                            </div>
                                            <div style="width:300px;">
                                                HH (DD) - BB (MM) - TTTT (YYYY)  
                                            </div>
                                        </div>
                                    </div>
                                    <div style="width: 100%; height: 50px;">
                                        <div style="width:100px;">
                                            Tarikh Akhir <br/>
                                            <i>End Date</i>
                                        </div>
                                        <div style="position: relative; width: 300px; top: -30px; left: 100px;">
                                            <div class="tb">
                                                <?php echo date('d-m-Y', strtotime($row->B3b)); ?>
                                            </div>
                                            <div style="width:300px;">
                                                HH (DD)   - BB (MM)   - TTTT (YYYY)  
                                            </div>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td style="width:40%;">
                                    4)   Tarikh Akhir Serahan Penyata dan Bayaran *<br/>
                                    <span style="padding-left:13px;"></span><i>Return and Payment Due Date *</i>
                                </td>
                                <td style="width:60%; padding-left: 100px;">
                                    <div class="tb">
                                        <?php echo date('d-m-Y',  strtotime($row->B4)); ?>
                                    </div>
                                    <div>
                                        HH (DD)   - BB (MM)   - TTTT (YYYY)  
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <table style="width:97%; margin: auto;">
                        <tbody>

                            <tr>
                                <td>
                                    5) Cukai Output *<br/>
                                    <span style="padding-left:13px;"></span><i>Output Tax *</i><br/>
                                    <table style="margin-left:20px;">
                                        <tr>
                                            <td></td>
                                            <td style="text-align:center">
                                                <b>Amaun (<i>Amount</i>)</b>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                a) Jumlah Nilai Pembekalan Berkadar Standard * <br/>
                                                <span style="padding-left:13px;"></span><i>Total Value of Standard Rated Supply *</i> 
                                            </td>
                                            <td>
                                                <div style="position: relative; top: 10px; margin-left: 10px;">RM</div>
                                                <div class="tb" style="position: relative; top: -10px; left: 40px;">
                                                    <?php echo number_format($row->B5a,2); ?>  
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td valign="top">
                                                b) Jumlah Cukai Output  (Termasuk Nilai Cukai keatas Hutang Lapuk
                                                <br/><span style="padding-left:13px;"></span>Dibayar Balik dan Pelarasan lain)  *  <br/>
                                                <span style="padding-left:13px;"></span><i>Total Output Tax (Inclusive of Tax Value On Bad Debt <br/> <span style="padding-left:13px;"></span>Recovered & other Adjustments *</i> 
                                            </td>
                                            <td valign="top">
                                                <div style="position: relative; top: 10px; margin-left: 10px;">RM</div>
                                                <div class="tb" style="position: relative; top: -10px; left: 40px;">
                                                     <?php echo number_format($row->B5b,2); ?> 
                                                </div>
                                            </td>
                                        </tr>
                                    </table>

                                </td>

                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="pageFooter">
                    <div class="corner bottomLeft"></div>
                    <div class="corner bottomRight"></div>
                    <div class="footElem" style="position: relative; left: 15px; top: -23px; font-size: 10px;">
                        Copyright of the Attorney General's Chambers of Malaysia <span style="font-weight: bold; float:right;">GST-03 | 1/3</span>
                    </div>

                </div>

            </div>
        </div>


        <div class="page">
            <div style="width:100%; height:100%;">
                <div class="pageHeader">
                    <div class="corner topLeft"></div>
                    <div class="corner topRight" style="border-top: 4px solid black;"></div>
                    <span style="line-height: 1.4; top: -20px; position: relative; float: right; font-weight: 600; font-size:14px; right:-10px;">P.U. (A) 190</span>
                </div>



                <div class="pageBody">

                    <div class="topHeader">
                        <table>
                            <tbody>
                                <tr style="padding-top:10px;">
                                    <td style="width:40%">

                                    </td>
                                    <td style="width:5%; text-align:right;padding-top:10px;">
                                        <div style="width:70px;">
                                            No. CBP* <br/><span style="font-style:italic;">GST No*</span>
                                        </div>
                                    </td>
                                    <td style="width:45%; text-align:right;padding-top:10px;">
                                        <div class="tb" style="height:20px; width:99%;">
                                             <?php echo $row->A1; ?> 
                                        </div>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>

                    <table style="width:100%; border-spacing: 6px;">
                        <tr>
                            <td style="padding-left:20px;">
                                6) Cukai Input / Input Tax
                            </td>

                            <td style="text-align:center;">
                                Amaun(<span style="font-style:italic;">Amount</span>)
                            </td>
                        </tr>
                        <tr>
                            <td style="width:60%;padding-left:30px;">
                                a) Jumlah Nilai Perolehan Berkadar Standard dan Berkadar Rata *<br/>
                                <span style="padding-left:13px;"></span><i>Total Value of Standard Rate and Flat Rate Acquisitions *</i>
                            </td>
                            <td style="width:40%;">
                                <div style="width: 40px; position: relative; top: 6px;">RM</div>
                                <div class="tb" style="position: relative; left: 30px; top: -12px;width:84%">
                                     <?php echo number_format($row->B6a,2); ?> 
                                </div> 
                            </td>
                        </tr>
                        <tr>
                            <td style="width:60%;padding-left:30px;">
                                b) Jumlah Cukai Input  (Termasuk Nilai Cukai ke atas Pelepasan Hutang <br/>
                                <span style="padding-left:13px;"></span>Lapuk dan Pelarasan lain) *<br/>
                                <span style="padding-left:13px;"></span><i>Total Input Tax (Inclusive of Tax Value on <br/>
                                    <span style="padding-left:13px;"></span>Bad Debt Relief & other Adjustments) *</i> 
                            </td>
                            <td style="width:40%;">
                                <div style="width: 40px; position: relative; top: 6px;">RM</div>
                                <div class="tb" style="position: relative; left: 30px; top: -12px;width:84%">
                                     <?php echo number_format($row->B6b,2); ?> 
                                </div> 
                            </td>
                        </tr>
                        <tr>
                            <td style="width:60%;padding-left:20px;">
                                7) Amaun CBP Kena Dibayar (Butiran 5b - Butiran 6b) * <br/>
                                <span style="padding-left:13px;"></span><i>GST Amount Payable (Item 5b - Item 6b) *</i>
                            </td>
                            <td style="width:40%;">
                                <div style="width: 40px; position: relative; top: 6px;">RM</div>
                                <div class="tb" style="position: relative; left: 30px; top: -12px;width:84%">
                                     <?php echo number_format($row->B7,2); ?> 
                                </div> 
                            </td>
                        </tr>

                        <tr>
                            <td style="font-weight:bold; padding-left:20%;" colspan="2">
                                <span >ATAU / OR</span>
                            </td>
                        </tr>

                        <tr>
                            <td style="width:60%;padding-left:20px;">
                                8) Amaun CBP Boleh Dituntut (Butiran 6b - Butiran 5b) * <br/>
                                <span style="padding-left:13px;"></span><i>GST Amount Claimable(Item 6b - Item 5b) * </i>
                            </td>
                            <td style="width:40%;">
                                <div style="width: 40px; position: relative; top: 6px;">RM</div>
                                <div class="tb" style="position: relative; left: 30px; top: -12px;width:84%">
                                     <?php echo number_format($row->B8,2); ?> 
                                </div> 
                            </td>
                        </tr>



                        <tr>
                            <td style="width:60%;padding-left:20px;">
                                9) Adakah anda memilih untuk membawa ke hadapan pembayaran balik <br/>
                                <span style="padding-left:13px;"></span>CBP ?
                                <span style="padding-left:13px;"></span><i>Do you choose to carry forward refund for GST</i> 
                            </td>
                            <td style="width:40%; text-align:center">
                                <div style="width: 50px; position: relative; top: 20px;">
                                    <div class="tb" style="width: 15px; height: 15px; padding-left:5px;">
                                        <?php
                                            if($row->B9==1){
                                                echo 'X';
                                            }
                                        ?>
                                    </div> 
                                   <div style="position: relative; float: right; top: -20px;">
                                       Ya<br/>
                                       <i>Yes</i>
                                   </div>
                                </div>
                                
                                <div style="height: 15px; position: relative; left: 100px; width: 150px; top: -3px;">
                                    <div class="tb" style="width: 15px;height: 15px;">
                                        <?php
                                            if($row->B9==0){
                                                echo 'X'; 
                                            }
                                        ?>
                                    </div>
                                        <div style="position: relative; margin-left: 1px; margin-right: 50px; top: -28px;">
                                       Tidak<br/>
                                       <i>No</i>
                                </div>
                                </div>
                                 
                            </td>
                        </tr>
                    </table>

                    <div class="bar">
                        <div>
                            BAHAGIAN C : MAKLUMAT TAMBAHAN  <br/>
                            <i>PART C : ADDITIONAL INFORMATION</i>
                        </div>
                        <img style="position: relative; left: 0px; top: -46px; width: 100%; height: 100%; z-index: -1;" src="<?php echo base_url(); ?>/img/gstBgRpt.png" />
                    </div>

                    <table style="width:100%; border-spacing: 10px;">
                        <tr>
                                            <td></td>
                                            <td style="text-align:center">
                                                <b>Amaun (<i>Amount</i>)</b>
                                            </td>
                                        </tr>
                        <tr>
                            <td style="width:60%;padding-left:20px;">
                                10) Jumlah Nilai Pembekalan Tempatan Berkadar Sifar * <br/>
                                <span style="padding-left:20px;"></span><i>Total Value of Local Zero-Rated Supplies *</i>
                            </td>
                            <td style="width:40%;">
                                <div style="width: 40px; position: relative; top: 6px;">RM</div>
                                <div class="tb" style="position: relative; left: 30px; top: -12px;width:84%">
                                    <?php echo number_format($row->C10,2); ?> 
                                </div> 
                            </td>
                        </tr>

                        <tr>
                            <td style="width:60%;padding-left:20px;">
                                11) Jumlah Nilai Pembekalan Eksport * <br/>
                                <span style="padding-left:20px;"></span><i>Total Value of Export Supplies *</i>
                                
                            </td>
                            <td style="width:40%;">
                                <div style="width: 40px; position: relative; top: 6px;">RM</div>
                                <div class="tb" style="position: relative; left: 30px; top: -12px;width:84%">
                                    <?php echo number_format($row->C11,2); ?> 
                                </div> 
                            </td>
                        </tr>

                        <tr>
                            <td style="width:60%;padding-left:20px;">
                                12) Jumlah Nilai Pembekalan Dikecualikan * <br/>
                                <span style="padding-left:20px;"></span><i>Total Value of Exempt Supplies *</i>
                            </td>
                            <td style="width:40%;">
                                <div style="width: 40px; position: relative; top: 6px;">RM</div>
                                <div class="tb" style="position: relative; left: 30px; top: -12px;width:84%">
                                    <?php echo number_format($row->C12,2); ?> 
                                </div> 
                            </td>
                        </tr>

                        <tr>
                            <td style="width:60%;padding-left:20px;">
                                13) Jumlah Nilai Pembekalan Diberi Pelepasan CBP *  <br/>
                                <span style="padding-left:20px;"></span><i>Total Value of Supplies Granted GST Relief *</i>
                            </td>
                            <td style="width:40%;">
                                <div style="width: 40px; position: relative; top: 6px;">RM</div>
                                <div class="tb" style="position: relative; left: 30px; top: -12px;width:84%">
                                    <?php echo number_format($row->C13,2); ?> 
                                </div> 
                            </td>
                        </tr>
                        <tr>
                            <td style="width:60%;padding-left:20px;">
                                14) Jumlah Nilai Pengimportan Barang Dibawah Skim Pedagang Diluluskan *<br/>
                                <span style="padding-left:20px;"></span><i>Total Value of Goods Imported Under Approved Trader Scheme *</i>
                            </td>
                            <td style="width:40%;">
                                <div style="width: 40px; position: relative; top: 6px;">RM</div>
                                <div class="tb" style="position: relative; left: 30px; top: -12px;width:84%">
                                    <?php echo number_format($row->C14,2); ?> 
                                </div> 
                            </td>
                        </tr>
                        <tr>
                            <td style="width:60%;padding-left:20px;">
                                15) Jumlah Nilai CBP Import Digantung dibawah butiran 14 *<br/>
                                <span style="padding-left:20px;"></span><i>Total Value of GST Suspended  under item 14  *</i>
                            </td>
                            <td style="width:40%;">
                                <div style="width: 40px; position: relative; top: 6px;">RM</div>
                                <div class="tb" style="position: relative; left: 30px; top: -12px;width:84%">
                                    <?php echo number_format($row->C15,2); ?> 
                                </div> 
                            </td>
                        </tr>

                        <tr>
                            <td style="width:60%;padding-left:20px;">
                                16) Jumlah Nilai Perolehan Harta Modal *<br/>
                                <span style="padding-left:20px;"></span><i>Total Value of Capital Goods Acquired *</i>

                            </td>
                            <td style="width:40%;">
                                <div style="width: 40px; position: relative; top: 6px;">RM</div>
                                <div class="tb" style="position: relative; left: 30px; top: -12px;width:84%">
                                    <?php echo number_format($row->C16,2); ?> 
                                </div> 
                            </td>
                        </tr>

                        <tr>
                            <td style="width:60%;padding-left:20px;">
                                17) Jumlah Nilai Pelepasan Hutang Lapuk Termasuk Cukai *<br/>
                                <span style="padding-left:20px;"></span><i>Total Value of Bad Debt Relief Inclusive Tax *</i>

                            </td>
                            <td style="width:40%;">
                                <div style="width: 40px; position: relative; top: 6px;">RM</div>
                                <div class="tb" style="position: relative; left: 30px; top: -12px;width:84%">
                                    <?php echo number_format($row->C17,2); ?> 
                                </div> 
                            </td>
                        </tr>

                        <tr>
                            <td style="width:60%;padding-left:20px;">
                                18) Jumlah Nilai Hutang Lapuk Dibayar Balik Termasuk Cukai *  <br/>
                                <span style="padding-left:20px;"></span><i>Total Value of Bad Debt Recovered Inclusive Tax *</i>
                            </td>
                            <td style="width:40%;">
                                <div style="width: 40px; position: relative; top: 6px;">RM</div>
                                <div class="tb" style="position: relative; left: 30px; top: -12px;width:84%">
                                    <?php echo number_format($row->C18,2); ?> 
                                </div> 
                            </td>
                        </tr>

                    </table>
                    </td>

                    </tr>
                    </tbody>
                    </table>
                </div>
                <div class="pageFooter">
                    <div class="corner bottomLeft"></div>
                    <div  class="corner bottomRight"></div>
                    <div class="footElem" style="position: relative; left: 15px; top: -23px; font-size: 10px;">
                        Copyright of the Attorney General's Chambers of Malaysia <span style="font-weight: bold; float:right;">GST-03 | 2/3</span>
                    </div>

                </div>

            </div>
        </div>

       
        <div class="page">
            <div style="width:100%; height:100%;">
                <div class="pageHeader">
                    <div class="corner topLeft"></div>
                    <div class="corner topRight" style="border-top: 4px solid black;"></div>
                    <span style="line-height: 1.4; top: -20px; position: relative; float: right; font-weight: 600; font-size:14px; right:-10px;">P.U. (A) 190</span>
                </div>

                <div class="pageBody">
                    <div class="topHeader">
                        <table>
                            <tbody>
                                <tr style="padding-top:10px;">
                                    <td style="width:40%">

                                    </td>
                                    <td style="width:5%; text-align:right;padding-top:10px;">
                                        <div style="width:70px;">
                                            No. CBP* <br/>
                                            <i>GST No*</i>
                                        </div>
                                    </td>
                                    <td style="width:45%; text-align:right;padding-top:10px;">
                                        <div class="tb" style="height:20px; width:100%;">
                                            <?php echo $row->A1; ?> 
                                        </div>
                                    </td>
                                </tr>
                                
                            </tbody>
                        </table>
                    </div>

                    <table style="width:100%; border-spacing: 6px;">
                        <tr>
                            <td style="padding-left:20px;" colspan="2">
                                19) Pecahan Nilai Cukai Output mengikut Kod Industri Utama <br/>
                                <span style="padding-left:20px;"></span><i>Breakdown Value of Output Tax in accordance with the Major Industries Code.</i> 
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="width: 70%; text-align: center; padding-left: 7%; padding-right: 7%;">
                                <table id="tablePart3" style="border:1px solid black;border-collapse: collapse;border-spacing: 5px;">
                                    <thead>
                                        <tr style="border-spacing: 0px;">
                                            <th style="border:1px solid black;">
                                                Kod MSIC (<i>MSIC code</i>)  
                                            </th>
                                            <th style="border:1px solid black;">
                                                Nilai Cukai Output (<i>Value of Output Tax</i>)  
                                            </th>
                                            <th style="border:1px solid black;">
                                                Peratusan (<i>Percentage</i>)  
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td style="">
                                                
                                                <div class="tb" style="margin: 5px 10px; width: 90px;">
                                                    <?php echo $row->C19a1; ?>
                                                </div> 
                                            </td>
                                            <td style="">
                                                <div style="width: 30px; float: left; margin-top: 5px; margin-left: 10px;">
                                                    RM
                                                </div>
                                                <div class="tb" style="margin: 5px 5px 5px 50px; width: 300px;">
                                                    <?php echo number_format($row->C19a2,2); ?> 
                                                </div>
                                            </td>
                                            <td style="">
                                                <div class="tb" style="float: left; width: 50px; margin-left: 20px;">
                                                    <?php echo number_format(100*$row->C19a2/$row->C19g,3); ?>
                                                </div> 
                                                <div style="float: right; position: relative; right: 20px;">%</div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="">
                                                
                                                <div class="tb" style="margin: 5px 10px; width: 90px;">
                                                    <?php echo $row->C19b1; ?>
                                                </div> 
                                            </td>
                                            <td style="">
                                                <div style="width: 30px; float: left; margin-top: 5px; margin-left: 10px;">
                                                    RM
                                                </div>
                                                <div class="tb" style="margin: 5px 5px 5px 50px; width: 300px;">
                                                    <?php echo number_format($row->C19b2,2); ?> 
                                                </div>
                                            </td>
                                            <td style="">
                                                <div class="tb" style="float: left; width: 50px; margin-left: 20px;">
                                                     <?php echo number_format(100*$row->C19b2/$row->C19g,3); ?>
                                                </div> 
                                                <div style="float: right; position: relative; right: 20px;">%</div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="">
                                                
                                                <div class="tb" style="margin: 5px 10px; width: 90px;">
                                                    <?php echo $row->C19c1; ?>
                                                </div> 
                                            </td>
                                            <td style="">
                                                <div style="width: 30px; float: left; margin-top: 5px; margin-left: 10px;">
                                                    RM
                                                </div>
                                                <div class="tb" style="margin: 5px 5px 5px 50px; width: 300px;">
                                                    <?php echo number_format($row->C19c2,2); ?> 
                                                </div>
                                            </td>
                                            <td style="">
                                                <div class="tb" style="float: left; width: 50px; margin-left: 20px;">
                                                     <?php echo number_format(100*$row->C19c2/$row->C19g,3); ?>
                                                </div> 
                                                <div style="float: right; position: relative; right: 20px;">%</div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="">
                                                
                                                <div class="tb" style="margin: 5px 10px; width: 90px;">
                                                    <?php echo $row->C19d1; ?>
                                                </div> 
                                            </td>
                                            <td style="">
                                                <div style="width: 30px; float: left; margin-top: 5px; margin-left: 10px;">
                                                    RM
                                                </div>
                                                <div class="tb" style="margin: 5px 5px 5px 50px; width: 300px;">
                                                    <?php echo number_format($row->C19d2,2); ?> 
                                                </div>
                                            </td>
                                            <td style="">
                                                <div class="tb" style="float: left; width: 50px; margin-left: 20px;">
                                                     <?php echo number_format(100*$row->C19d2/$row->C19g,3); ?>
                                                </div> 
                                                <div style="float: right; position: relative; right: 20px;">%</div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="">
                                                
                                                <div class="tb" style="margin: 5px 10px; width: 90px;">
                                                    <?php echo $row->C19e1; ?>
                                                </div> 
                                            </td>
                                            <td style="">
                                                <div style="width: 30px; float: left; margin-top: 5px; margin-left: 10px;">
                                                    RM
                                                </div>
                                                <div class="tb" style="margin: 5px 5px 5px 50px; width: 300px;">
                                                    <?php echo number_format($row->C19e2,2); ?> 
                                                </div>
                                            </td>
                                            <td style="">
                                                <div class="tb" style="float: left; width: 50px; margin-left: 20px;">
                                                     <?php echo number_format(100*$row->C19e2/$row->C19g,3); ?>
                                                </div> 
                                                <div style="float: right; position: relative; right: 20px;">%</div>
                                            </td>
                                        </tr>
                                        
                                        <tr>
                                            <td style="">
                                                 Lain-lain <br/>
                                                 <i>Others</i>
                                            </td>
                                            <td style="">
                                               <div style="width: 30px; float: left; margin-top: 5px; margin-left: 10px;">
                                                    RM
                                                </div>
                                                <div class="tb" style="margin: 5px 5px 5px 50px; width: 300px;">
                                                    <?php echo number_format($row->C19f,2); ?> 
                                                </div>
                                            </td>
                                            <td style="">
                                                 <div class="tb" style="float: left; width: 50px; margin-left: 20px;">
                                                      <?php echo number_format(100*$row->C19f/$row->C19g,2); ?>
                                                </div> 
                                                <div style="float: right; position: relative; right: 20px;">%</div>
                                            </td>
                                        </tr>
                                         <tr>
                                            <td style="">
                                                JUMLAH <br/>
                                                <i>TOTAL</i>
                                            </td>
                                            <td style="">
                                                <div style="width: 30px; float: left; margin-top: 5px; margin-left: 10px;">
                                                    RM
                                                </div>
                                                <div class="tb" style="margin: 5px 5px 5px 50px; width: 300px;">
                                                    <?php echo number_format($row->C19g,2); ?> 
                                                </div>
                                            </td>
                                            <td style="">
                                                100%
                                            </td>
                                        </tr>
                                        
                                         
                                    </tbody>
                                </table>
                            </td>
                        </tr>

                    </table>


                    <div class="bar">
                        <div>
                            BAHAGIAN D : AKUAN  <br/>
                            <i>PART D : DECLARATION</i>
                        </div>
                        <img style="position: relative; left: 0px; top: -46px; width: 100%; height: 100%; z-index: -1;" src="<?php echo base_url(); ?>/img/gstBgRpt.png" />
                    </div>
                    
                    <table style="width:100%; border-spacing: 6px;">
                        <tr>
                            <td colspan="2" style="width:60%;padding-left:10px;">
                              Saya, dengan ini mengaku bahawa maklumat dinyatakan dalam borang ini adalah benar, betul dan lengkap <br/>
                              <i>I, hereby declare that the information stated in this form are true, correct and complete.</i>  
                            </td>
                        </tr>

                        <tr>
                            <td style="width:30%;padding-left:10px;">
                                20) Nama Orang Diberi Kuasa * <br/>
                                <span style="padding-left:20px;"></span><i>Name of Authorized Person *</i>
                            </td>
                            <td style="width:70%;">
                                <div class="tb" style="width:97%; height: 30px;">
                                    <?php echo $row->D20; ?>
                                </div> 
                            </td>
                        </tr>
                        
                        <tr>
                            <td style="width:30%;padding-left:10px;">
                                21) No. Kad Pengenalan <br/>
                                <span style="padding-left:20px;"></span><i>Identity Card No. </i>
                            </td>
                            <td style="width:70%;">
                                <table style="width:100%;">
                                    <tr>
                                        <td style="width:60%;">
                                            <div>
                                                Baru (<i>New</i>) 
                                            </div>
                                             <div class="tb" style="width:95%;">
                                                 <?php echo $row->D21a; ?>
                                             </div>
                                        </td>
                                         <td style="width:37%;">
                                               <div>
                                                   Lama (<i>Old</i>) 
                                            </div>
                                             <div class="tb" style="width:92%;">
                                                 <?php echo $row->D21b; ?>
                                             </div>
                                        </td>
                                    </tr>
                                </table> 
                            </td>
                        </tr>
                        <tr>
                            <td style="width:30%;padding-left:10px;">
                               22) No. Pasport * <br/>
                               <span style="padding-left:20px;"></span><i>Passport No. *</i>
                            </td>
                            <td style="width:70%;">
                                <div class="tb" style="width:97%;">
                                     <?php echo $row->D22; ?>
                                </div> 
                            </td>
                        </tr>
                        <tr>
                            <td style="width:30%;padding-left:10px;">
                               
                            </td>
                            <td style="width:70%;">
                                Wajib untuk warga negara asing (<i>Mandatory for foreign citizen</i>)  
                            </td>
                        </tr>
                        
                        <tr>
                            <td style="width:30%;padding-left:10px;">
                               23) Kewarganegaraan<br/>
                               <span style="padding-left:20px;"></span><i>Nationality</i>
                            </td>
                            <td style="width:70%;">
                                <div class="tb" style="width:80%;">
                                    <?php echo $row->D23; ?>
                                </div> 
                            </td>
                        </tr>
                        
                        <tr>
                            <td style="width:30%;padding-left:10px;">
                               24) Tarikh<br/>
                               <span style="padding-left:20px;"></span><i>Date </i>
                            </td>
                            <td style="width:70%;">
                                <div class="tb">
                                    <?php echo $row->D24; ?>
                                </div> 
                                <div>HH (DD) - BB (MM) - TTTT (YYYY) </div>
                            </td>
                        </tr>
                        
                         <tr>
                            <td style="width:30%;padding-left:10px;">
                                25) Tandatangan * <br/>
                                <span style="padding-left:20px;"></span><i>Signature *</i>
                            </td>
                            <td style="width:70%;">
                                <div class="tb" style="width:240px; height: 30px;">
                                </div> 
                            </td>
                        </tr>
                        
                    </table>
                    
                    <table  style="width: 99%; text-align: center; border-style: solid; border-color: black; border-image: none; margin: auto auto 15px; padding-bottom: 10px; border-collapse: collapse; border-width: 1px;">
                        <tr>
                            <td style="border: 1px solid black;" colspan="4">
                                <div style="font-weight: bold; font-size: 16px; height: 40px; text-align: center;">
                                    <p style="margin: 0px; padding-top: 10px;"> UNTUK KEGUNAAN PEJABAT  (<i>FOR OFFICE USE ONLY</i>) </p>
                            <img style="position: relative; left: 0px; width: 100%; height: 100%; z-index: -1; top: -30px;" src="<?php echo base_url(); ?>/img/gstBgRpt.png" />
                        </div>
                                
                                
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Tarikh Diterima * <br/>
                                <i>Received Date *</i>
                            </td>
                            <td>
                                 <div class="tb" style="width:80%;">
                                </div> 
                                <div>HH (DD)  - BB (MM)  - TTTT (YYYY) </div>
                            </td>
                            <td>
                                Tarikh Cop Pos * <br/>
                                <i>Postmark Date *</i>
                            </td>
                            <td>
                                <div style="height:15px;"></div>
                                 <div class="tb" style="width:80%;">
                                </div> 
                                <div>HH (DD) - BB (MM) - TTTT (YYYY) </div>
                            </td>
                        </tr>
                    </table>

                </div>
                <div class="pageFooter">
                    <div class="corner bottomLeft"></div>
                    <div class="corner bottomRight"></div>
                    <div class="footElem" style="position: relative; left: 15px; top: -23px; font-size: 10px;">
                       Copyright of the Attorney General's Chambers of Malaysia <span style="font-weight: bold; float:right;">GST-03 | 3/3</span>
                    </div>

                </div>

            </div>
        </div>
 <?php }else {
 } ?>
         
    </body>
</html>