diff --git a/application/third_party/PHPExcel/Shared/String.php b/application/third_party/PHPExcel/Shared/String.php index f5efd4d..8908230 100644 --- a/application/third_party/PHPExcel/Shared/String.php +++ b/application/third_party/PHPExcel/Shared/String.php @@ -524,24 +524,24 @@ class PHPExcel_Shared_String * @author Rasmus Andersson {@link http://rasmusandersson.se/} * @author vadik56 */ - public static function utf16_decode($str, $bom_be = TRUE) + // public static function utf16_decode($str, $bom_be = TRUE) - if( strlen($str) < 2 ) return $str; - $c0 = ord($str{0}); - $c1 = ord($str{1}); - if( $c0 == 0xfe && $c1 == 0xff ) { $str = substr($str,2); } - elseif( $c0 == 0xff && $c1 == 0xfe ) { $str = substr($str,2); $bom_be = false; } - $len = strlen($str); - $newstr = ''; - for($i=0;$i<$len;$i+=2) { - if( $bom_be ) { $val = ord($str{$i}) << 4; $val += ord($str{$i+1}); } - else { $val = ord($str{$i+1}) << 4; $val += ord($str{$i}); } - $newstr .= ($val == 0x228) ? "\n" : chr($val); - } - return $newstr; - } - } + // if( strlen($str) < 2 ) return $str; + // $c0 = ord($str{0}); + // $c1 = ord($str{1}); + // if( $c0 == 0xfe && $c1 == 0xff ) { $str = substr($str,2); } + // elseif( $c0 == 0xff && $c1 == 0xfe ) { $str = substr($str,2); $bom_be = false; } + // $len = strlen($str); + // $newstr = ''; + // for($i=0;$i<$len;$i+=2) { + // if( $bom_be ) { $val = ord($str{$i}) << 4; $val += ord($str{$i+1}); } + // else { $val = ord($str{$i+1}) << 4; $val += ord($str{$i}); } + // $newstr .= ($val == 0x228) ? "\n" : chr($val); + // } + // return $newstr; + // } + // } /** * Get character count. First try mbstring, then iconv, finally strlen * diff --git a/application/views/tmc/tmc_recon.php b/application/views/tmc/tmc_recon.php index cc94081..b1bb57c 100644 --- a/application/views/tmc/tmc_recon.php +++ b/application/views/tmc/tmc_recon.php @@ -634,13 +634,12 @@ function() { oTable = $("#scroll-horizontal-datatable").DataTable({ lengthChange: !1, - dom: 'Bfrtip', buttons: [ { extend: "csvHtml5", exportOptions: { - columns: [ 0, 1, 2, 3, 4, 23, 24, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18 ] + columns: [ 0, 1, 2, 3, 4, 5,6,7,8,9,10,11,12,13,14] } } @@ -649,6 +648,22 @@ function() { // 'csvHtml5' // 'pdfHtml5' ], + +// buttons: [{ +// extend: "excelHtml5", +// className: "btn-light" +// } +// // , { +// // extend: "print", +// // className: "btn-light" +// // }, { +// // extend: "pdf", +// // className: "btn-light" +// // } + + + + scrollX: !0, language: { paginate: { diff --git a/uploads/1/gstr2a/GSTR2A-12DWWPD9503H135-Mar-2022-1690622070.xlsx b/uploads/1/gstr2a/GSTR2A-12DWWPD9503H135-Mar-2022-1690622070.xlsx new file mode 100644 index 0000000..030ab43 Binary files /dev/null and b/uploads/1/gstr2a/GSTR2A-12DWWPD9503H135-Mar-2022-1690622070.xlsx differ diff --git a/uploads/1/p_c2/C2--1690624046.csv b/uploads/1/p_c2/C2--1690624046.csv new file mode 100644 index 0000000..9737efd --- /dev/null +++ b/uploads/1/p_c2/C2--1690624046.csv @@ -0,0 +1 @@ +"SEGMENT","INV DATE","GST INVOICE NO","REF NO","DOC TYPE","BILLING ENTITY","PASSENGER NAME","AIRLINE CODE","TICKET NO","SECTOR","CABINCLASS","TOTAL TKT FARE","REMARKS","ACTION","INVOICE" diff --git a/uploads/1/p_c2/C2--1690624053.csv b/uploads/1/p_c2/C2--1690624053.csv new file mode 100644 index 0000000..9737efd --- /dev/null +++ b/uploads/1/p_c2/C2--1690624053.csv @@ -0,0 +1 @@ +"SEGMENT","INV DATE","GST INVOICE NO","REF NO","DOC TYPE","BILLING ENTITY","PASSENGER NAME","AIRLINE CODE","TICKET NO","SECTOR","CABINCLASS","TOTAL TKT FARE","REMARKS","ACTION","INVOICE" diff --git a/uploads/1/p_tmc/TMC--1690622371.xlsx b/uploads/1/p_tmc/TMC--1690622371.xlsx new file mode 100644 index 0000000..6bba71c Binary files /dev/null and b/uploads/1/p_tmc/TMC--1690622371.xlsx differ diff --git a/uploads/1/p_tmc/TMC--1690622375.xlsx b/uploads/1/p_tmc/TMC--1690622375.xlsx new file mode 100644 index 0000000..6bba71c Binary files /dev/null and b/uploads/1/p_tmc/TMC--1690622375.xlsx differ diff --git a/uploads/4/tmc/TMC-dummy-May-2020-1690622504.xlsx b/uploads/4/tmc/TMC-dummy-May-2020-1690622504.xlsx new file mode 100644 index 0000000..6bba71c Binary files /dev/null and b/uploads/4/tmc/TMC-dummy-May-2020-1690622504.xlsx differ diff --git a/uploads/4/tmc/TMC-dummy-May-2020-1690622508.xlsx b/uploads/4/tmc/TMC-dummy-May-2020-1690622508.xlsx new file mode 100644 index 0000000..6bba71c Binary files /dev/null and b/uploads/4/tmc/TMC-dummy-May-2020-1690622508.xlsx differ diff --git a/uploads/4/tmc/TMC-testagent-May-2020-1690622475.xlsx b/uploads/4/tmc/TMC-testagent-May-2020-1690622475.xlsx new file mode 100644 index 0000000..6bba71c Binary files /dev/null and b/uploads/4/tmc/TMC-testagent-May-2020-1690622475.xlsx differ