bankstatement
This commit is contained in:
parent
4c1726d420
commit
bce737c7ca
@ -15,10 +15,7 @@ $(function() {
|
|||||||
{
|
{
|
||||||
$("#accode").append( $('<option></option>').val(item.code).html(item.name));
|
$("#accode").append( $('<option></option>').val(item.code).html(item.name));
|
||||||
}
|
}
|
||||||
else(item.type == 'PAYMENT')
|
|
||||||
{
|
|
||||||
$("#accode").append( $('<option></option>').val(item.code).html(item.name));
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
@ -512,34 +509,21 @@ function calculateTotal()
|
|||||||
|
|
||||||
$('#totalamount').val((total.toFixed(2)));
|
$('#totalamount').val((total.toFixed(2)));
|
||||||
}
|
}
|
||||||
$(function() {
|
|
||||||
|
|
||||||
var t = [];
|
|
||||||
var ex = [];
|
|
||||||
var inc = [];
|
|
||||||
t= <?php echo json_encode($dropdownvalues)?>;
|
|
||||||
|
|
||||||
$('#myradio1').click(function(){
|
$('#myradio1').click(function(){
|
||||||
|
|
||||||
$('#towhom').ready('Received From:');
|
$('#towhom').ready('Received From:');
|
||||||
$.each(t,function(i,item){
|
|
||||||
if(item.type == 'RECEIPT')
|
|
||||||
{
|
|
||||||
$("#accode").append( $('<option></option>').val(item.code).html(item.name));
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#myradio2').ready(function(){
|
$('#myradio2').ready(function(){
|
||||||
|
|
||||||
$('#towhom').text('Paid To:');
|
$('#towhom').text('Paid To:');
|
||||||
else(item.type == 'PAYMENT')
|
|
||||||
{
|
|
||||||
$("#accode").append( $('<option></option>').val(item.code).html(item.name));
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user