bankstatement
This commit is contained in:
parent
4765e693b1
commit
d81b1e422f
@ -235,10 +235,7 @@ function debitpolist($bankid)
|
||||
return $query->result();
|
||||
|
||||
}
|
||||
function paidcbook($bankid)
|
||||
{
|
||||
|
||||
}
|
||||
function creditinvoicelist($SupplierName,$fdate,$tdate,$bankid)
|
||||
{
|
||||
$this->db->select('indate,invoiceno,customername,totinvoiceamount,bankid as id,
|
||||
@ -399,13 +396,7 @@ function debitlistpo($SupplierName,$fdate,$tdate,$pono)
|
||||
$r = $this->db->affected_rows();
|
||||
return $r;
|
||||
}
|
||||
function mappingcashbook($podata)
|
||||
{
|
||||
$this->db->insert('T_Bankmappingpo',$podata);
|
||||
// $this->db->where('PONO',$pono);
|
||||
$r = $this->db->affected_rows();
|
||||
return $r;
|
||||
}
|
||||
|
||||
|
||||
public function poupdate($pono)
|
||||
{
|
||||
|
||||
@ -523,10 +523,11 @@ function loadAccountType(id)
|
||||
</div>
|
||||
<script>
|
||||
function amountcheck()
|
||||
{
|
||||
var typeofmap = "<?php echo $typeofmap;?>";
|
||||
if(typeofmap=='Bank')
|
||||
{
|
||||
var bankamount = $('#bankamount').val();
|
||||
//alert(bankamount+'total');
|
||||
|
||||
var cashamount = $('#totalamount').val();
|
||||
//alert(cashamount+'mam');
|
||||
if(parseFloat(bankamount)>=parseFloat(cashamount))
|
||||
@ -538,6 +539,11 @@ else
|
||||
alert('Your mapping amount is large');
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
validate();
|
||||
}
|
||||
}
|
||||
|
||||
function validate()
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user