
<link href="<?php echo THEME_PATH; ?>css/style.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo THEME_PATH; ?>css/style-responsive.css" rel="stylesheet">

<script>
    // to check if this invoice is for customer or vendor by using URL
    var IsReceipt = location.pathname.toString().match(/\/receipt/i) != null;
    // to remove many digits after the period
//    $(function(){$(".ValSpan").each(function(){$(this).html(AddCommas(parseFloat($.trim($(this).text())).toXFixed(3))).animate({opacity:1})})})
</script>
<!--body wrapper start-->
<div class="wrapper">
    <div class="panel invoice">
        <div class="panel-body">
            <div class="row">
                <div class="col-xs-3">
                    <div class="invoice-logo">
                        <img src="<?= upload_url;?>org_logo/invoice_logo.jpg" alt=""style="max-height:75px"/>
                    </div>
                </div>
                <div class="col-xs-5">
                    <h1><?php echo CommonLanguage::getMessage("deposit_withdrawal");?></h1>
                </div>
               
            </div>
            <br/>
            <br/>
            <br/>
            <div class="row">
                <div class="col-xs-4">

                    <strong><?php print CommonLanguage::getMessage('From');?></strong>
                    <br/><?php print CommonLanguage::getMessage('Name');?>: <?php echo $data['from_account_name']; ?>
                    <br/><?php print CommonLanguage::getMessage('Name');?>: <?php echo $data['Deposit_WithDrawal_Amount'].' '.$data['currency_from_sym']; ?>
                </div>
                <div class="col-xs-4">
                    <strong>
                        <?php print CommonLanguage::getMessage('To');?>
                    </strong>
                    <br/><?php print CommonLanguage::getMessage('Name');?>: <?php echo $data['to_account_name']; ?>
                    <br/><?php print CommonLanguage::getMessage('Amount');?>: <?php echo $data['Deposit_WithDrawal_Amount_To'].' '.$data['currency_to_sym']; ?>
                </div>
                <div class="col-xs-4 inv-info">
                    
                    <div><span><?php print CommonLanguage::getMessage('Date');?>    </span><span>&nbsp;<?php echo $data['Deposit_WithDrawal_Date']; ?></span></div>
                    <div><span><?php print CommonLanguage::getMessage('deposit_withdrawal');?>    </span><span>&nbsp;<?php echo $data['dw_number']; ?></span></div>
                  
                </div>
            </div>
            <br/>
            <br/>
            <br/>
            <table class="table table-striped table-hover">
                <thead>
                  
                </thead>
                <tbody>
                  
                    <tr>
                        <td><?php echo $data['Deposit_WithDrawal_Description']?></td>
                        
                    </tr>
                   
                </tbody>
            </table>
            <br/>
            <br/>
       
            <br/>
            <br/>
            <br/>
            <div class="row no-print">
                <div class="col-md-12">
                    <div class="pull-right">
                        <a class="btn btn-danger" onclick="javascript:window.print();"><i class="fa fa-print"></i> <?php print CommonLanguage::getMessage('print');?></a>
<!--                        <a href="#" data-download-pdf='' data-title=' Invoice' class="btn btn-primary">< ?php print CommonLanguage::getMessage('generate_pdf');?></a>-->
                    </div>
                    <!--
<div class="pull-right">
<a href="#" class="btn btn-success">Submit Payment</a>
</div>
-->
                </div>
            </div>
        </div>
    </div>
</div>
<!--body wrapper end-->
<!--<script>
    var sayLang = < ?php echo json_encode(CommonLanguage::getMessage('say'));?>,
        zeroLang = < ?php echo json_encode(CommonLanguage::getMessage('zero'));?>;
    $(function(){
        var PrimaryCurrency = < ?php echo json_encode(CommonLanguage::getMessage($data['Currency_Name'])); ?>;
        var TotalVal = ($("#TotalTable").find("span.TotalVal").text());


        var WordedPriceFirstCurrency = ucWords(toWords(TotalVal)) + " " + PrimaryCurrency;
        // Adding Zero if 0.##
        if(TotalVal < 1)WordedPriceFirstCurrency =zeroLang+ " " + WordedPriceFirstCurrency;



        $("#InvoiceBottomPriceInWords > h4").html(sayLang+" " + WordedPriceFirstCurrency);

    })
</script>-->
