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