diff --git a/application/views/corporate/gstlist.php b/application/views/corporate/gstlist.php index 4ef4149..7161431 100644 --- a/application/views/corporate/gstlist.php +++ b/application/views/corporate/gstlist.php @@ -111,17 +111,17 @@
- +
- - +
@@ -190,7 +190,8 @@ INVOICE DATE - + + - - - - - $('#column_name').change(function(){ - - var all_column = ["0", "1", "2", "3", "4", "5", "6"]; - - var remove_column = $('#column_name').val(); - - var remaining_column = all_column.filter(function(obj) { return remove_column.indexOf(obj) == -1; }); - - oTable.columns(remove_column).visible(false); - - oTable.columns(remaining_column).visible(true); - - }); - -// $('#scroll-horizontal-datatable tbody').on('click', 'tr', function () { -// }); - -// $('#scroll-horizontal-datatable tbody').on('click', 'tr td button', function () { -// -//// var data_row = oTable.row($(this).closest('tr')).data(); -// -//// alert('clicked'); -// $(oTable.row($(this).closest('tr'))).addClass('selected'); -//// } -// } ); -// $('#scroll-horizontal-datatable tbody').on('click', 'tr td a', function () { -//// alert('searched'); -// -// $(oTable.row($(this).closest('tr'))).addClass('selected'); -// -// } ); - - function capitalize(s) - { - str1 = s.replace(/\_/g," "); - str1 = str1[0].toUpperCase() + str1.slice(1); - str1 = str1.replace(/\Pnr/g,"PNR "); - str1 = str1.replace(/\Hsn/g,"HSN "); - str1 = str1.replace(/\Cgst/g,"CGST "); - str1 = str1.replace(/\Igst/g,"IGST "); - str1 = str1.replace(/\Sgst/g,"SGST "); - str1 = str1.replace(/\gst/g,"GST "); - - return str1; - } - - - function viewinvfn(inv_no){ - $.ajax({ - url:'', - data:{inv_no:$('#'+inv_no+'').val()}, - type:'POST', - success:function(data){ - var Pdata = JSON.parse(data); - console.log(Pdata); - var modal_data = ''; - modal_data= '
Invoive Date
:
'+Pdata[0]['invdt']+'
'; - delete Pdata[0].sl; - delete Pdata[0].invoice_dt; - delete Pdata[0].invdt; - delete Pdata[0].batch_id; - Object.keys(Pdata[0]).forEach((element,index) => { - console.log(element); - modal_data+= '
'+capitalize(element)+'
:
'+Pdata[0][element]+'
' - }); - $('#scrollableModalTitle').html(Pdata[0].invoice_no) - $('#inv_getdata').html(modal_data); - $('#scrollable-modal').modal('show'); - }, - error:function(){ - - } - }) - }; - - - - -// $('#refval').on('change',function(){ -// alert($('#refval').val()); -// }) - - - - - - - - - - \ No newline at end of file diff --git a/application/views/corporate/gstr2a_recon.php b/application/views/corporate/gstr2a_recon.php index fba1352..dbbf0cc 100644 --- a/application/views/corporate/gstr2a_recon.php +++ b/application/views/corporate/gstr2a_recon.php @@ -516,7 +516,7 @@ function() { // var formData = new FormData($("#usrforma")[0]); $.ajax({ - url : '', + url : '', type:'POST', data:formData, processData: false, diff --git a/uploads/1/airline_invoice/349_1689661597___299_1687760660___dummy.pdf b/uploads/1/airline_invoice/349_1689661597___299_1687760660___dummy.pdf new file mode 100644 index 0000000..774c2ea Binary files /dev/null and b/uploads/1/airline_invoice/349_1689661597___299_1687760660___dummy.pdf differ diff --git a/uploads/1/airline_invoice/350_1689661432___299_1687760660___dummy.pdf b/uploads/1/airline_invoice/350_1689661432___299_1687760660___dummy.pdf new file mode 100644 index 0000000..774c2ea Binary files /dev/null and b/uploads/1/airline_invoice/350_1689661432___299_1687760660___dummy.pdf differ