mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2025-12-23 17:47:54 -05:00
bootstrap-table
- Updated dependency - Added XLSX format to export formats.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<div id="report_summary">
|
||||
<?php
|
||||
foreach($summary_data as $name => $value)
|
||||
{
|
||||
{
|
||||
if($name == "total_quantity")
|
||||
{
|
||||
?>
|
||||
@@ -59,7 +59,7 @@
|
||||
sortable: true,
|
||||
showExport: true,
|
||||
exportDataType: 'all',
|
||||
exportTypes: ['json', 'xml', 'csv', 'txt', 'sql', 'excel', 'pdf'],
|
||||
exportTypes: ['json', 'xml', 'csv', 'txt', 'sql', 'excel', 'xlsx', 'pdf'],
|
||||
pagination: true,
|
||||
showColumns: true,
|
||||
data: <?= json_encode(esc($data, 'js')) ?>,
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
uniqueId: 'id',
|
||||
showExport: true,
|
||||
exportDataType: 'all',
|
||||
exportTypes: ['json', 'xml', 'csv', 'txt', 'sql', 'excel', 'pdf'],
|
||||
exportTypes: ['json', 'xml', 'csv', 'txt', 'sql', 'excel', 'xlsx', 'pdf'],
|
||||
data: <?= json_encode(esc($summary_data, 'js')) ?>,
|
||||
iconSize: 'sm',
|
||||
paginationVAlign: 'bottom',
|
||||
|
||||
@@ -38,7 +38,7 @@ Write-Output "bootstrap-select"
|
||||
npm i bootstrap-select@1.13.18
|
||||
|
||||
Write-Output "bootstrap-table"
|
||||
npm i bootstrap-table@1.18.1
|
||||
npm i bootstrap-table@1.22.1
|
||||
|
||||
Write-Output "bootstrap-tagsinput"
|
||||
npm i bootstrap-tagsinput@0.7.1
|
||||
|
||||
1241
composer.lock
generated
1241
composer.lock
generated
File diff suppressed because it is too large
Load Diff
6
package-lock.json
generated
6
package-lock.json
generated
@@ -14,7 +14,7 @@
|
||||
"bootstrap-datetime-picker": "github:smalot/bootstrap-datetimepicker#master",
|
||||
"bootstrap-notify": "^3.1.3",
|
||||
"bootstrap-select": "^1.13.18",
|
||||
"bootstrap-table": "^1.18.1",
|
||||
"bootstrap-table": "^1.22.1",
|
||||
"bootstrap-tagsinput": "^0.7.1",
|
||||
"bootstrap-toggle": "^2.2.2",
|
||||
"bootstrap3-dialog": "github:nakupanda/bootstrap3-dialog#master",
|
||||
@@ -1330,8 +1330,8 @@
|
||||
}
|
||||
},
|
||||
"node_modules/bootstrap-table": {
|
||||
"version": "1.18.1",
|
||||
"resolved": "https://registry.npmjs.org/bootstrap-table/-/bootstrap-table-1.18.1.tgz",
|
||||
"version": "1.22.1",
|
||||
"resolved": "https://registry.npmjs.org/bootstrap-table/-/bootstrap-table-1.22.1.tgz",
|
||||
"integrity": "sha512-1dkPJSakL4A2Dv0SzAI9CFM5609iDvYoydAUE5PhuAiKvzFE3jfzQDlakEmlZ4TcleOihbWcW6sVB1Sh7UksDw==",
|
||||
"peerDependencies": {
|
||||
"jquery": "1.9.1 - 3"
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"bootstrap-datetime-picker": "github:smalot/bootstrap-datetimepicker#master",
|
||||
"bootstrap-notify": "^3.1.3",
|
||||
"bootstrap-select": "^1.13.18",
|
||||
"bootstrap-table": "^1.18.1",
|
||||
"bootstrap-table": "^1.22.1",
|
||||
"bootstrap-tagsinput": "^0.7.1",
|
||||
"bootstrap-toggle": "^2.2.2",
|
||||
"bootstrap3-dialog": "github:nakupanda/bootstrap3-dialog#master",
|
||||
|
||||
@@ -226,7 +226,7 @@
|
||||
clickToSelect: true,
|
||||
showExport: true,
|
||||
exportDataType: 'basic',
|
||||
exportTypes: ['json', 'xml', 'csv', 'txt', 'sql', 'excel', 'pdf'],
|
||||
exportTypes: ['json', 'xml', 'csv', 'txt', 'sql', 'excel', 'xlsx', 'pdf'],
|
||||
exportOptions: {
|
||||
fileName: options.resource.replace(/.*\/(.*?)$/g, '$1')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user