bankstatement alignment

This commit is contained in:
gandhimathi 2018-06-11 19:30:45 +05:30
parent 89d0909124
commit c1e1673f69

View File

@ -3,6 +3,14 @@ foreach($financialyear as $item)
{
$finyear = $item->financial_year;
} ?>
<?php
foreach($bankreport as $t)
{
$Bankname = $t->Bankname;
} ?>
@ -41,20 +49,18 @@ $finyear = $item->financial_year;
<!-- TABLE: LATEST ORDERS -->
<div class="box box-info">
<!--<div class="box-header with-border">-->
<!--<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Cashbook Reports</b></p></h3></center>-->
<!--</div>-->
<!-- /.box-header -->
<center><h3 class="box-title"><p style="color:#3c8dbc"><b>Bank Report</b></p></h3></center>
<div class="box-body">
<?php
// $attributes = array('class' => 'form-label-left bankdata ','name' => 'bankdata','id' => 'bankdata');
// echo form_open($this->config->base_url().'/cashbook/bankdebitdata/',$attributes); ?>
<form method="post" action="<?php echo base_url($this->uri->uri_string()); ?>">
<form method="post" action="<?php echo base_url($this->uri->uri_string()); ?>">
<div class="modal" id="myModaldebit" role="dialog">
@ -102,7 +108,7 @@ $finyear = $item->financial_year;
</div>
</div>
</div>
<div class="row">
@ -119,6 +125,7 @@ $finyear = $item->financial_year;
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<div class="col-md-12">
<div title="Select Your Option">
@ -154,15 +161,9 @@ $finyear = $item->financial_year;
</div>
</div>
<div class="col-md-2">
<label for="from_date">
<?php echo 'From Date'; ?>
@ -187,6 +188,8 @@ $finyear = $item->financial_year;
</span>
</div>
</div>
<div class="col-md-2" style="margin-top:24px;">
<select class="form-control" id="financialyear" name="financialyear">
<option value="">Select Year</option>
@ -226,55 +229,27 @@ $finyear = $item->financial_year;
</form>
<!-- <div class="row">
<div class="col-md-12" style="padding:0px;">
<div class="col-md-2" style="padding-bottom:10px;">
<select style="height:35px;" name="selectedId" id="selectedId<?php echo $i?>" onchange="checkscreen(<?php echo $i?>);" title="Select Your Option">
<option value="-1" style="color:#FFF;">Select Option</option>
<option value="1">Invoice</option>
<option value="2">Po screen</option>
<option value="3">Cashbook</option>
</select>
</div>
<div class="col-md-2">
<input type="hidden" name="Rowid" id="Rowid">
</div>
<div class="col-md-2">
<input type="hidden" id="addvalue" name="addvalue">
</div>
</div>
</div> -->
<br>
<br>
<br>
<center><h3>Bank Name:<?php echo $Bankname?></h3></center>
<table class="table table-bordered table-hover" data-order='[[1,"desc"]]' id="req" style="table-layout:auto;">
<thead>
<tr>
<th>S.No</th>
<th>Select</th>
<th>Date</th>
<!--<th>Account Code</th>-->
<th>Value Date</th>
<th>Bank Name</th>
<th>Date</th>
<th>Cheque No</th>
<th>Narration</th>
<th>Cod</th>
<!--<th>Paid Type(RECEIPT)</th>-->
<!--<th>Paid Type(PAYMENTS)</th>-->
<th style="text-align:right;"> Debit (&#8377;)</th>
<th>Narration</th>
<th style="text-align:right;"> Debit (&#8377;)</th>
<!--<th style="text-align:right;">Balance (&#8377;)</th>-->
<th style="text-align:right;"> Cleard Balance (&#8377;)</th>
<th style="text-align:right;"> Balance to Clear (&#8377;)</th>
<th style="text-align:right;"> Status </th>
<!-- <th style="text-align:right;"> Status </th> -->
<th style="text-align:right;"> Credit (&#8377;)</th>
<th style="text-align:right;"> Cleard Balance (&#8377;)</th>
<th style="text-align:right;"> Balance to Clear (&#8377;)</th>
@ -309,11 +284,11 @@ $finyear = $item->financial_year;
<td data-name="sell"><input type="checkbox" onchange="checkamount(<?php echo $type ?>,<?php echo $i ?>) "id="checkboxcheckbox<?php echo $i ?>" name="checkbox<?php echo $i ?>";></td>
<td align="left" id="date<?php echo $i ?>"><span><?php echo $t->date?></span></td>
<td align="left"><span><?php echo $t->valuedate?></span></td>
<td align="left"><span><?php echo $t->Bankname?></span></td>
<!-- <td align="left"><span><?php echo $t->valuedate?></span></td> -->
<!-- <td align="left"><span><?php echo $t->Bankname?></span></td> -->
<td align="left"><span><?php echo $t->chequeNo?></span></td>
<td align="left" id="narration<?php echo $i ?>"><span><?php echo $t->Narration?></a></span></td>
<td align="left"><span><?php echo $t->Cod?></span></td>
<td align="left" id="narration<?php echo $i ?>"><span><?php echo $t->Narration?></span></td>
<!-- <td align="left"><span><?php echo $t->Cod?></span></td> -->
<td align="left" id="debit<?php echo $i ?>"><span><?php echo $t->Debit;?></span></td>
@ -325,7 +300,7 @@ $finyear = $item->financial_year;
$clearbalance=$t->Clearbalance;
?>
<td align="left" id="totalpaid<?php echo $i?>"><a href="<?php echo base_url() ?>cashbook/mappingpo?d=<?php echo $t->ID?>"><span><?php echo $clearbalance?></a></span></td>
<td align="left" id="totalpaid<?php echo $i?>"><a href="<?php echo base_url() ?>cashbook/mappingpo?d=<?php echo $t->ID?>"><?php echo $clearbalance?></a></td>
<?php
if($status=='CLOSE')
@ -338,7 +313,7 @@ $finyear = $item->financial_year;
else
{
?>
<td align="left" id="btc<?php echo $i ?>"><?php echo $t->Debit-$clearbalance?></span></td>
<td align="left" id="btc<?php echo $i ?>"><span><?php echo $t->Debit-$clearbalance?></span></td>
<?php
}
?>
@ -347,7 +322,7 @@ $finyear = $item->financial_year;
<!-- <td align="left"><span><?php echo $t->Status?></span></td> -->
<td align="left" id="dsta<?php echo $i ?>"><span><?php echo $t->Status?></span></td>
<!-- <td align="left" id="dsta<?php echo $i ?>"><span><?php echo $t->Status?></span></td> -->
@ -359,12 +334,14 @@ $finyear = $item->financial_year;
?>
<td align="left" id="credit2<?php echo $i ?>"><a href="<?php echo base_url() ?>cashbook/mappinginvoice?d=<?php echo $t->ID?>"><span><?php echo $clearbalance?></a></span></td>
<td align="left" id="credit2<?php echo $i ?>"><a href="<?php echo base_url() ?>cashbook/mappinginvoice?d=<?php echo $t->ID?>"><?php echo $clearbalance?></a></td>
<td align="left" id="credited<?php echo $i ?>"><span><?php echo ($t->Credit)-($t->cclearbalance);?></span></td>
<td align="left" id="csta<?php echo $i ?>"><span><?php echo $t->cstatus?></span></td>
<td align="left" id="csta<?php echo $i ?>"><span><?php echo $t->cstatus?><?php echo $t->Status?></span></td>
<!-- <td align="left" id="dsta<?php echo $i ?>"><span><?php echo $t->Status?></span></td> -->
<!-- <td><?php echo $t->cstatus;?></td> -->
<td><?php echo $t->Balance;?></td>
@ -391,7 +368,7 @@ $finyear = $item->financial_year;
<input type="hidden" name="bankid1" id="bankid1">
</div>
</div>
</div>
</section>
</div>