heama
This commit is contained in:
parent
5c8420f0d8
commit
39c40498fd
@ -524,24 +524,24 @@ class PHPExcel_Shared_String
|
|||||||
* @author Rasmus Andersson {@link http://rasmusandersson.se/}
|
* @author Rasmus Andersson {@link http://rasmusandersson.se/}
|
||||||
* @author vadik56
|
* @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;
|
// if( strlen($str) < 2 ) return $str;
|
||||||
$c0 = ord($str{0});
|
// $c0 = ord($str{0});
|
||||||
$c1 = ord($str{1});
|
// $c1 = ord($str{1});
|
||||||
if( $c0 == 0xfe && $c1 == 0xff ) { $str = substr($str,2); }
|
// if( $c0 == 0xfe && $c1 == 0xff ) { $str = substr($str,2); }
|
||||||
elseif( $c0 == 0xff && $c1 == 0xfe ) { $str = substr($str,2); $bom_be = false; }
|
// elseif( $c0 == 0xff && $c1 == 0xfe ) { $str = substr($str,2); $bom_be = false; }
|
||||||
$len = strlen($str);
|
// $len = strlen($str);
|
||||||
$newstr = '';
|
// $newstr = '';
|
||||||
for($i=0;$i<$len;$i+=2) {
|
// for($i=0;$i<$len;$i+=2) {
|
||||||
if( $bom_be ) { $val = ord($str{$i}) << 4; $val += ord($str{$i+1}); }
|
// if( $bom_be ) { $val = ord($str{$i}) << 4; $val += ord($str{$i+1}); }
|
||||||
else { $val = ord($str{$i+1}) << 4; $val += ord($str{$i}); }
|
// else { $val = ord($str{$i+1}) << 4; $val += ord($str{$i}); }
|
||||||
$newstr .= ($val == 0x228) ? "\n" : chr($val);
|
// $newstr .= ($val == 0x228) ? "\n" : chr($val);
|
||||||
}
|
// }
|
||||||
return $newstr;
|
// return $newstr;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
/**
|
/**
|
||||||
* Get character count. First try mbstring, then iconv, finally strlen
|
* Get character count. First try mbstring, then iconv, finally strlen
|
||||||
*
|
*
|
||||||
|
|||||||
@ -634,13 +634,12 @@ function() {
|
|||||||
|
|
||||||
oTable = $("#scroll-horizontal-datatable").DataTable({
|
oTable = $("#scroll-horizontal-datatable").DataTable({
|
||||||
lengthChange: !1,
|
lengthChange: !1,
|
||||||
|
|
||||||
dom: 'Bfrtip',
|
dom: 'Bfrtip',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
extend: "csvHtml5",
|
extend: "csvHtml5",
|
||||||
exportOptions: {
|
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'
|
// 'csvHtml5'
|
||||||
// 'pdfHtml5'
|
// 'pdfHtml5'
|
||||||
],
|
],
|
||||||
|
|
||||||
|
// buttons: [{
|
||||||
|
// extend: "excelHtml5",
|
||||||
|
// className: "btn-light"
|
||||||
|
// }
|
||||||
|
// // , {
|
||||||
|
// // extend: "print",
|
||||||
|
// // className: "btn-light"
|
||||||
|
// // }, {
|
||||||
|
// // extend: "pdf",
|
||||||
|
// // className: "btn-light"
|
||||||
|
// // }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
scrollX: !0,
|
scrollX: !0,
|
||||||
language: {
|
language: {
|
||||||
paginate: {
|
paginate: {
|
||||||
|
|||||||
BIN
uploads/1/gstr2a/GSTR2A-12DWWPD9503H135-Mar-2022-1690622070.xlsx
Normal file
BIN
uploads/1/gstr2a/GSTR2A-12DWWPD9503H135-Mar-2022-1690622070.xlsx
Normal file
Binary file not shown.
1
uploads/1/p_c2/C2--1690624046.csv
Normal file
1
uploads/1/p_c2/C2--1690624046.csv
Normal file
@ -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"
|
||||||
|
1
uploads/1/p_c2/C2--1690624053.csv
Normal file
1
uploads/1/p_c2/C2--1690624053.csv
Normal file
@ -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"
|
||||||
|
BIN
uploads/1/p_tmc/TMC--1690622371.xlsx
Normal file
BIN
uploads/1/p_tmc/TMC--1690622371.xlsx
Normal file
Binary file not shown.
BIN
uploads/1/p_tmc/TMC--1690622375.xlsx
Normal file
BIN
uploads/1/p_tmc/TMC--1690622375.xlsx
Normal file
Binary file not shown.
BIN
uploads/4/tmc/TMC-dummy-May-2020-1690622504.xlsx
Normal file
BIN
uploads/4/tmc/TMC-dummy-May-2020-1690622504.xlsx
Normal file
Binary file not shown.
BIN
uploads/4/tmc/TMC-dummy-May-2020-1690622508.xlsx
Normal file
BIN
uploads/4/tmc/TMC-dummy-May-2020-1690622508.xlsx
Normal file
Binary file not shown.
BIN
uploads/4/tmc/TMC-testagent-May-2020-1690622475.xlsx
Normal file
BIN
uploads/4/tmc/TMC-testagent-May-2020-1690622475.xlsx
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user