Add currency sorting for summary reports (#1003)

This commit is contained in:
jekkos
2016-11-26 14:07:50 +01:00
parent c5988adbbb
commit 422e2ddbab
22 changed files with 280 additions and 213 deletions

View File

@@ -51,13 +51,14 @@ class Reports extends Secure_Controller
$tabular_data = array();
foreach($report_data as $row)
{
$tabular_data[] = $this->xss_clean(array($row['sale_date'],
to_quantity_decimals($row['quantity_purchased']),
to_currency($row['subtotal']),
to_currency($row['tax']),
to_currency($row['total']),
to_currency($row['cost']),
to_currency($row['profit'])
$tabular_data[] = $this->xss_clean(array(
'sale_date' => $row['sale_date'],
'quantity' => to_quantity_decimals($row['quantity_purchased']),
'subtotal' => to_currency($row['subtotal']),
'tax' => to_currency($row['tax']),
'total' => to_currency($row['total']),
'cost' => to_currency($row['cost']),
'profit' => to_currency($row['profit'])
));
}
@@ -86,13 +87,14 @@ class Reports extends Secure_Controller
$tabular_data = array();
foreach($report_data as $row)
{
$tabular_data[] = $this->xss_clean(array($row['category'],
to_quantity_decimals($row['quantity_purchased']),
to_currency($row['subtotal']),
to_currency($row['tax']),
to_currency($row['total']),
to_currency($row['cost']),
to_currency($row['profit'])
$tabular_data[] = $this->xss_clean(array(
'category' => $row['category'],
'quantity' => to_quantity_decimals($row['quantity_purchased']),
'subtotal' => to_currency($row['subtotal']),
'tax' => to_currency($row['tax']),
'total' => to_currency($row['total']),
'cost' => to_currency($row['cost']),
'profit' => to_currency($row['profit'])
));
}
@@ -121,13 +123,14 @@ class Reports extends Secure_Controller
$tabular_data = array();
foreach($report_data as $row)
{
$tabular_data[] = $this->xss_clean(array($row['customer'],
to_quantity_decimals($row['quantity_purchased']),
to_currency($row['subtotal']),
to_currency($row['tax']),
to_currency($row['total']),
to_currency($row['cost']),
to_currency($row['profit'])
$tabular_data[] = $this->xss_clean(array(
'customer_name' => $row['customer'],
'quantity' => to_quantity_decimals($row['quantity_purchased']),
'subtotal' => to_currency($row['subtotal']),
'tax' => to_currency($row['tax']),
'total' => to_currency($row['total']),
'cost' => to_currency($row['cost']),
'profit' => to_currency($row['profit'])
));
}
@@ -156,13 +159,14 @@ class Reports extends Secure_Controller
$tabular_data = array();
foreach($report_data as $row)
{
$tabular_data[] = $this->xss_clean(array($row['supplier'],
to_quantity_decimals($row['quantity_purchased']),
to_currency($row['subtotal']),
to_currency($row['tax']),
to_currency($row['total']),
to_currency($row['cost']),
to_currency($row['profit'])
$tabular_data[] = $this->xss_clean(array(
'supplier_name' => $row['supplier'],
'quantity' => to_quantity_decimals($row['quantity_purchased']),
'subtotal' => to_currency($row['subtotal']),
'tax' => to_currency($row['tax']),
'total' => to_currency($row['total']),
'cost' => to_currency($row['cost']),
'profit' => to_currency($row['profit'])
));
}
@@ -191,13 +195,14 @@ class Reports extends Secure_Controller
$tabular_data = array();
foreach($report_data as $row)
{
$tabular_data[] = $this->xss_clean(array($row['name'],
to_quantity_decimals($row['quantity_purchased']),
to_currency($row['subtotal']),
to_currency($row['tax']),
to_currency($row['total']),
to_currency($row['cost']),
to_currency($row['profit'])
$tabular_data[] = $this->xss_clean(array(
'item_name' => $row['name'],
'quantity' => to_quantity_decimals($row['quantity_purchased']),
'subtotal' => to_currency($row['subtotal']),
'tax' => to_currency($row['tax']),
'total' => to_currency($row['total']),
'cost' => to_currency($row['cost']),
'profit' => to_currency($row['profit'])
));
}
@@ -226,13 +231,14 @@ class Reports extends Secure_Controller
$tabular_data = array();
foreach($report_data as $row)
{
$tabular_data[] = $this->xss_clean(array($row['employee'],
to_quantity_decimals($row['quantity_purchased']),
to_currency($row['subtotal']),
to_currency($row['tax']),
to_currency($row['total']),
to_currency($row['cost']),
to_currency($row['profit'])
$tabular_data[] = $this->xss_clean(array(
'employee_name' => $row['employee'],
'quantity' => to_quantity_decimals($row['quantity_purchased']),
'subtotal' => to_currency($row['subtotal']),
'tax' => to_currency($row['tax']),
'total' => to_currency($row['total']),
'cost' => to_currency($row['cost']),
'profit' => to_currency($row['profit'])
));
}
@@ -261,11 +267,12 @@ class Reports extends Secure_Controller
$tabular_data = array();
foreach($report_data as $row)
{
$tabular_data[] = $this->xss_clean(array($row['percent'],
$row['count'],
to_currency($row['subtotal']),
to_currency($row['tax']),
to_currency($row['total'])
$tabular_data[] = $this->xss_clean(array(
'tax_percent' => $row['percent'],
'report_count' => $row['count'],
'subtotal' => to_currency($row['subtotal']),
'tax' => to_currency($row['tax']),
'total' => to_currency($row['total'])
));
}
@@ -294,8 +301,9 @@ class Reports extends Secure_Controller
$tabular_data = array();
foreach($report_data as $row)
{
$tabular_data[] = $this->xss_clean(array($row['discount_percent'],
$row['count']
$tabular_data[] = $this->xss_clean(array(
'discount' => $row['discount_percent'],
'count' => $row['count']
));
}
@@ -324,9 +332,10 @@ class Reports extends Secure_Controller
$tabular_data = array();
foreach($report_data as $row)
{
$tabular_data[] = $this->xss_clean(array($row['payment_type'],
$row['count'],
to_currency($row['payment_amount'])
$tabular_data[] = $this->xss_clean(array(
'payment_type' => $row['payment_type'],
'report_count' => $row['count'],
'amount_tendered' => to_currency($row['payment_amount'])
));
}
@@ -899,8 +908,8 @@ class Reports extends Secure_Controller
'sale_id' => $report_data['sale_id'],
'sale_date' => $report_data['sale_date'],
'quantity' => to_quantity_decimals($report_data['items_purchased']),
'employee' => $report_data['employee_name'],
'customer' => $report_data['customer_name'],
'employee_name' => $report_data['employee_name'],
'customer_name' => $report_data['customer_name'],
'subtotal' => to_currency($report_data['subtotal']),
'tax' => to_currency($report_data['tax']),
'total' => to_currency($report_data['total']),
@@ -992,8 +1001,8 @@ class Reports extends Secure_Controller
'receiving_id' => $report_data['receiving_id'],
'receiving_date' => $report_data['receiving_date'],
'quantity' => to_quantity_decimals($report_data['items_purchased']),
'employee' => $report_data['employee_name'],
'supplier' => $report_data['supplier_name'],
'employee_name' => $report_data['employee_name'],
'supplier_name' => $report_data['supplier_name'],
'total' => to_currency($report_data['total']),
'payment_type' => $report_data['payment_type'],
'reference' => $report_data['reference'],
@@ -1076,11 +1085,12 @@ class Reports extends Secure_Controller
$tabular_data = array();
foreach($report_data as $row)
{
$tabular_data[] = $this->xss_clean(array($row['name'],
$row['item_number'],
to_quantity_decimals($row['quantity']),
to_quantity_decimals($row['reorder_level']),
$row['location_name']
$tabular_data[] = $this->xss_clean(array(
'item_name' => $row['name'],
'item_number' => $row['item_number'],
'quantity' => to_quantity_decimals($row['quantity']),
'reorder_level' => to_quantity_decimals($row['reorder_level']),
'location_name' => $row['location_name']
));
}
@@ -1122,14 +1132,15 @@ class Reports extends Secure_Controller
$tabular_data = array();
foreach($report_data as $row)
{
$tabular_data[] = $this->xss_clean(array($row['name'],
$row['item_number'],
to_quantity_decimals($row['quantity']),
to_quantity_decimals($row['reorder_level']),
$row['location_name'],
to_currency($row['cost_price']),
to_currency($row['unit_price']),
to_currency($row['sub_total_value'])
$tabular_data[] = $this->xss_clean(array(
'item_name' => $row['name'],
'item_number' => $row['item_number'],
'quantity' => to_quantity_decimals($row['quantity']),
'reorder_level' => to_quantity_decimals($row['reorder_level']),
'location_name' => $row['location_name'],
'cost_price' => to_currency($row['cost_price']),
'unit_price' => to_currency($row['unit_price']),
'subtotal' => to_currency($row['sub_total_value'])
));
}

View File

@@ -121,7 +121,7 @@ function transform_headers_readonly($array)
return json_encode($result);
}
function transform_headers($array, $readonly = FALSE)
function transform_headers($array, $readonly = FALSE, $editable = TRUE)
{
$result = array();
@@ -130,7 +130,10 @@ function transform_headers($array, $readonly = FALSE)
$array = array_merge(array(array('checkbox' => 'select', 'sortable' => FALSE)), $array);
}
$array[] = array('edit' => '');
if ($editable)
{
$array[] = array('edit' => '');
}
foreach($array as $element)
{

View File

@@ -11,11 +11,12 @@ class Inventory_low extends Report
public function getDataColumns()
{
return array($this->lang->line('reports_item_name'),
$this->lang->line('reports_item_number'),
$this->lang->line('reports_quantity'),
$this->lang->line('reports_reorder_level'),
$this->lang->line('reports_stock_location'));
return array(
array('item_name' => $this->lang->line('reports_item_name')),
array('item_number' => $this->lang->line('reports_item_number')),
array('quantity' => $this->lang->line('reports_quantity')),
array('reorder_level' => $this->lang->line('reports_reorder_level')),
array('location_name' => $this->lang->line('reports_stock_location')));
}
public function getData(array $inputs)

View File

@@ -11,14 +11,14 @@ class Inventory_summary extends Report
public function getDataColumns()
{
return array($this->lang->line('reports_item_name'),
$this->lang->line('reports_item_number'),
$this->lang->line('reports_quantity'),
$this->lang->line('reports_reorder_level'),
$this->lang->line('reports_stock_location'),
$this->lang->line('reports_cost_price'),
$this->lang->line('reports_unit_price'),
$this->lang->line('reports_sub_total_value'));
return array(array('item_name' => $this->lang->line('reports_item_name')),
array('item_number' => $this->lang->line('reports_item_number')),
array('quantity' => $this->lang->line('reports_quantity')),
array('reorder_level' => $this->lang->line('reports_reorder_level')),
array('location_name' => $this->lang->line('reports_stock_location')),
array('cost_price' => $this->lang->line('reports_cost_price'), 'sorter' => 'currency_sorter'),
array('unit_price' => $this->lang->line('reports_unit_price'), 'sorter' => 'currency_sorter'),
array('subtotal' => $this->lang->line('reports_sub_total_value'), 'sorter' => 'currency_sorter'));
}
public function getData(array $inputs)

View File

@@ -11,7 +11,14 @@ class Summary_categories extends Summary_report
protected function _get_data_columns()
{
return array($this->lang->line('reports_category'), $this->lang->line('reports_quantity'), $this->lang->line('reports_subtotal'), $this->lang->line('reports_tax'), $this->lang->line('reports_total'), $this->lang->line('reports_cost'), $this->lang->line('reports_profit'));
return array(
array('category' => $this->lang->line('reports_category')),
array('quantity' => $this->lang->line('reports_quantity')),
array('subtotal' => $this->lang->line('reports_subtotal'), 'sorter' => 'currency_sorter'),
array('tax' => $this->lang->line('reports_tax'), 'sorter' => 'currency_sorter'),
array('total' => $this->lang->line('reports_total'), 'sorter' => 'currency_sorter'),
array('cost' => $this->lang->line('reports_cost'), 'sorter' => 'currency_sorter'),
array('profit' => $this->lang->line('reports_profit'), 'sorter' => 'currency_sorter'));
}
protected function _select(array $inputs)

View File

@@ -11,7 +11,14 @@ class Summary_customers extends Summary_report
protected function _get_data_columns()
{
return array($this->lang->line('reports_customer'), $this->lang->line('reports_quantity'), $this->lang->line('reports_subtotal'), $this->lang->line('reports_tax'), $this->lang->line('reports_total'), $this->lang->line('reports_cost'), $this->lang->line('reports_profit'));
return array(
array('customer_name' => $this->lang->line('reports_customer')),
array('quantity' => $this->lang->line('reports_quantity')),
array('subtotal' => $this->lang->line('reports_subtotal'), 'sorter' => 'currency_sorter'),
array('tax' => $this->lang->line('reports_tax'), 'sorter' => 'currency_sorter'),
array('total' => $this->lang->line('reports_total'), 'sorter' => 'currency_sorter'),
array('cost' => $this->lang->line('reports_cost'), 'sorter' => 'currency_sorter'),
array('profit' => $this->lang->line('reports_profit'), 'sorter' => 'currency_sorter'));
}
protected function _select(array $inputs)

View File

@@ -11,7 +11,9 @@ class Summary_discounts extends Summary_report
protected function _get_data_columns()
{
return array($this->lang->line('reports_discount_percent'), $this->lang->line('reports_count'));
return array(
array('discount' => $this->lang->line('reports_discount_percent')),
array('count' => $this->lang->line('reports_count')));
}
public function getData(array $inputs)

View File

@@ -11,7 +11,14 @@ class Summary_employees extends Summary_report
protected function _get_data_columns()
{
return array($this->lang->line('reports_employee'), $this->lang->line('reports_quantity'), $this->lang->line('reports_subtotal'), $this->lang->line('reports_tax'), $this->lang->line('reports_total'), $this->lang->line('reports_cost'), $this->lang->line('reports_profit'));
return array(
array('employee_name' => $this->lang->line('reports_employee')),
array('quantity' => $this->lang->line('reports_quantity')),
array('subtotal' => $this->lang->line('reports_subtotal'), 'sorter' => 'currency_sorter'),
array('tax' => $this->lang->line('reports_tax'), 'sorter' => 'currency_sorter'),
array('total' => $this->lang->line('reports_total'), 'sorter' => 'currency_sorter'),
array('cost' => $this->lang->line('reports_cost'), 'sorter' => 'currency_sorter'),
array('profit' => $this->lang->line('reports_profit'), 'sorter' => 'currency_sorter'));
}
protected function _select(array $inputs)

View File

@@ -11,7 +11,14 @@ class Summary_items extends Summary_report
protected function _get_data_columns()
{
return array($this->lang->line('reports_item'), $this->lang->line('reports_quantity'), $this->lang->line('reports_subtotal'), $this->lang->line('reports_tax'), $this->lang->line('reports_total'), $this->lang->line('reports_cost'), $this->lang->line('reports_profit'));
return array(
array('item_name' => $this->lang->line('reports_item')),
array('quantity' => $this->lang->line('reports_quantity')),
array('subtotal' => $this->lang->line('reports_subtotal'), 'sorter' => 'currency_sorter'),
array('tax' => $this->lang->line('reports_tax'), 'sorter' => 'currency_sorter'),
array('total' => $this->lang->line('reports_total'), 'sorter' => 'currency_sorter'),
array('cost', $this->lang->line('reports_cost'), 'sorter' => 'currency_sorter'),
array('profit' => $this->lang->line('reports_profit'), 'sorter' => 'currency_sorter'));
}
protected function _select(array $inputs)

View File

@@ -11,7 +11,10 @@ class Summary_payments extends Summary_report
protected function _get_data_columns()
{
return array($this->lang->line('reports_payment_type'), $this->lang->line('reports_count'), $this->lang->line('sales_amount_tendered'));
return array(
array('payment_type' => $this->lang->line('reports_payment_type')),
array('report_count' => $this->lang->line('reports_count')),
array('amount_tendered' => $this->lang->line('sales_amount_tendered'), 'sorter' => 'currency_sorter'));
}
public function getData(array $inputs)

View File

@@ -11,7 +11,14 @@ class Summary_sales extends Summary_report
protected function _get_data_columns()
{
return array($this->lang->line('reports_date'), $this->lang->line('reports_quantity'), $this->lang->line('reports_subtotal'), $this->lang->line('reports_tax'), $this->lang->line('reports_total'), $this->lang->line('reports_cost'), $this->lang->line('reports_profit'));
return array(
array('sale_date' => $this->lang->line('reports_date')),
array('quantity' => $this->lang->line('reports_quantity')),
array('subtotal' => $this->lang->line('reports_subtotal'), 'sorter' => 'currency_sorter'),
array('tax' => $this->lang->line('reports_tax'), 'sorter' => 'currency_sorter'),
array('total' => $this->lang->line('reports_total'), 'sorter' => 'currency_sorter'),
array('cost' => $this->lang->line('reports_cost'), 'sorter' => 'currency_sorter'),
array('profit' => $this->lang->line('reports_profit'), 'sorter' => 'currency_sorter'));
}
protected function _select(array $inputs)

View File

@@ -11,7 +11,14 @@ class Summary_suppliers extends Summary_report
protected function _get_data_columns()
{
return array($this->lang->line('reports_supplier'), $this->lang->line('reports_quantity'), $this->lang->line('reports_subtotal'), $this->lang->line('reports_tax'), $this->lang->line('reports_total'), $this->lang->line('reports_cost'), $this->lang->line('reports_profit'));
return array(
array('supplier_name' => $this->lang->line('reports_supplier')),
array('quantity' => $this->lang->line('reports_quantity')),
array('subtotal' => $this->lang->line('reports_subtotal'), 'sorter' => 'currency_sorter'),
array('tax' => $this->lang->line('reports_tax'), 'sorter' => 'currency_sorter'),
array('total' => $this->lang->line('reports_total'), 'sorter' => 'currency_sorter'),
array('cost' => $this->lang->line('reports_cost'), 'sorter' => 'currency_sorter'),
array('profit' => $this->lang->line('reports_profit'), 'sorter' => 'currency_sorter'));
}
protected function _select(array $inputs)

View File

@@ -11,7 +11,12 @@ class Summary_taxes extends Summary_report
protected function _get_data_columns()
{
return array($this->lang->line('reports_tax_percent'), $this->lang->line('reports_count'), $this->lang->line('reports_subtotal'), $this->lang->line('reports_tax'), $this->lang->line('reports_total'));
return array(
array('tax' => $this->lang->line('reports_tax_percent'), 'sorter' => 'currency_sorter'),
array('report_count' => $this->lang->line('reports_count')),
array('subtotal' => $this->lang->line('reports_subtotal'), 'sorter' => 'currency_sorter'),
array('tax' => $this->lang->line('reports_tax'), 'sorter' => 'currency_sorter'),
array('total' => $this->lang->line('reports_total'), 'sorter' => 'currency_sorter'));
}
public function getData(array $inputs)

View File

@@ -70,11 +70,11 @@
<![endif]-->
<!-- start mincss template tags -->
<link rel="stylesheet" type="text/css" href="dist/jquery-ui.css"/>
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=838e46d56e"/>
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=d5b9522f2f"/>
<link rel="stylesheet" type="text/css" href="dist/style.css"/>
<!-- end mincss template tags -->
<!-- start minjs template tags -->
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=c84a0bb15a"></script>
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=54e944c909"></script>
<!-- end minjs template tags -->
<?php endif; ?>

View File

@@ -25,7 +25,7 @@
<?php $this->load->view('partial/bootstrap_tables_locale'); ?>
$('#table').bootstrapTable({
columns: <?php echo transform_headers_readonly($headers); ?>,
columns: <?php echo transform_headers($headers, TRUE, FALSE); ?>,
pageSize: <?php echo $this->config->item('lines_per_page'); ?>,
striped: true,
sortable: true,

View File

@@ -21,15 +21,6 @@
<script type="text/javascript">
function currency_sorter(a, b)
{
a = +a.replace(/[^0-9\.]+/g,"");
b = +b.replace(/[^0-9\.]+/g,"");
if (a > b) return 1;
if (a < b) return -1;
return 0;
}
$(document).ready(function()
{
<?php $this->load->view('partial/bootstrap_tables_locale'); ?>

View File

@@ -1,5 +1,5 @@
{
"name": "OpenSourcePOS",
"name": "opensourcepos",
"version": "3.0.1",
"description": "Open Source Point of Sale is a web based point of sale system written in the PHP language. It uses MySQL as the data storage back-end and has a simple user interface.",
"main": "index.php",

View File

File diff suppressed because one or more lines are too long

View File

File diff suppressed because one or more lines are too long

View File

@@ -343,4 +343,13 @@ $(document).ready(function() {
if (session_sha1 != footer_sha1 || !footer_text.match(/Open Source Point Of Sale/)) {
$(window).block({ message: '' });
}
});
});
function currency_sorter(a, b)
{
a = +a.replace(/[^0-9\.]+/g,"");
b = +b.replace(/[^0-9\.]+/g,"");
if (a > b) return 1;
if (a < b) return -1;
return 0;
}

View File

@@ -10,7 +10,7 @@ Copyright (c) 2015-2016 FrancescoUK (aka daN4cat)
Copyright (c) 2015 Aamir Shahzad (aka asakpke), RoshanTech.com
Copyright (c) 2015 Toni Haryanto (aka yllumi)
Copyright (c) 2016 Ramkrishna Mondal (aka RamkrishnaMondal)
Copyright (c) 2016 Rinaldy@dbarber (aka rnld26)
Copyright (c) 2016 rnld26
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
@@ -33,4 +33,4 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -1,9 +1,21 @@
{
"chartist-plugin-tooltip@0.0.13": {
"blockUI@undefined": {
"licenses": [
"MIT*"
],
"homepage": "https://github.com/Globegitter/chartist-plugin-tooltip"
"homepage": "http://jquery.malsup.com/block/"
},
"bootstrap-select@1.11.2": {
"licenses": [
"MIT"
],
"homepage": "http://silviomoreto.github.io/bootstrap-select"
},
"bootstrap3-dialog@1.35.3": {
"licenses": [
"MIT"
],
"homepage": "http://nakupanda.github.io/bootstrap3-dialog/"
},
"bootswatch@3.3.7": {
"licenses": [
@@ -15,33 +27,9 @@
},
"homepage": "http://bootswatch.com"
},
"tableExport.jquery.plugin@1.5.1": {
"licenses": [
"MIT"
],
"homepage": "https://github.com/hhurz/tableExport.jquery.plugin"
},
"chartist-plugin-pointlabels@0.0.4": {
"licenses": [
"WTF*"
],
"homepage": "https://github.com/gionkunz/chartist-plugin-pointlabels"
},
"bootstrap3-dialog@1.35.3": {
"licenses": [
"MIT"
],
"homepage": "http://nakupanda.github.io/bootstrap3-dialog/"
},
"jquery-form@3.46.0": {
"chartist@0.9.8": {
"licenses": "UNKNOWN",
"homepage": "https://github.com/malsup/form"
},
"file-saver.js@1.20150507.2": {
"licenses": [
"LICENSE.md"
],
"homepage": "https://github.com/Teleborder/FileSaver.js"
"homepage": "https://github.com/gionkunz/chartist-js"
},
"chartist-plugin-axistitle@0.1.0": {
"licenses": [
@@ -49,21 +37,29 @@
],
"homepage": "https://github.com/alexstanbury/chartist-plugin-axistitle"
},
"jspdf@1.0.272": {
"chartist-plugin-pointlabels@0.0.4": {
"licenses": [
"MIT"
"WTF*"
],
"homepage": "https://github.com/mrrio/jspdf"
"homepage": "https://github.com/gionkunz/chartist-plugin-pointlabels"
},
"moment@2.16.0": {
"chartist-plugin-barlabels@0.0.5": {
"licenses": [
"MIT"
"WTF*"
],
"homepage": "https://github.com/moment/moment"
"homepage": "https://github.com/mtgibbs/chartist-plugin-barlabels"
},
"chartist@0.9.8": {
"licenses": "UNKNOWN",
"homepage": "https://github.com/gionkunz/chartist-js"
"chartist-plugin-tooltip@0.0.13": {
"licenses": [
"MIT*"
],
"homepage": "https://github.com/Globegitter/chartist-plugin-tooltip"
},
"file-saver.js@1.20150507.2": {
"licenses": [
"LICENSE.md"
],
"homepage": "https://github.com/Teleborder/FileSaver.js"
},
"jquery@1.12.4": {
"licenses": [
@@ -71,11 +67,15 @@
],
"homepage": "https://github.com/jquery/jquery-dist"
},
"bootstrap-select@1.11.2": {
"jquery-form@3.46.0": {
"licenses": "UNKNOWN",
"homepage": "https://github.com/malsup/form"
},
"jspdf@1.0.272": {
"licenses": [
"MIT"
],
"homepage": "http://silviomoreto.github.io/bootstrap-select"
"homepage": "https://github.com/mrrio/jspdf"
},
"js-cookie@2.1.3": {
"licenses": [
@@ -83,33 +83,31 @@
],
"homepage": "https://github.com/js-cookie/js-cookie"
},
"blockUI@undefined": {
"licenses": [
"MIT*"
],
"homepage": "http://jquery.malsup.com/block/"
},
"smalot-bootstrap-datetimepicker@2.3.11": {
"licenses": [
"Apache 2.0",
"Apache*"
],
"homepage": "https://github.com/smalot/bootstrap-datetimepicker",
"repository": "https://github.com/smalot/bootstrap-datetimepicker"
},
"remarkable-bootstrap-notify@3.1.3": {
"moment@2.15.1": {
"licenses": [
"MIT"
],
"homepage": "http://bootstrap-notify.remabledesigns.com/",
"repository": "https://github.com/mouse0270/bootstrap-notify"
"homepage": "https://github.com/moment/moment"
},
"jquery-validation@1.13.1": {
"tableExport.jquery.plugin@1.5.1": {
"licenses": [
"MIT"
],
"repository": "https://github.com/jzaefferer/jquery-validation",
"homepage": "http://jqueryvalidation.org/"
"homepage": "https://github.com/hhurz/tableExport.jquery.plugin"
},
"bootstrap-daterangepicker@2.1.24": {
"licenses": [
"MIT"
],
"homepage": "https://github.com/dangrossman/bootstrap-daterangepicker",
"repository": "git+https://github.com/dangrossman/bootstrap-daterangepicker"
},
"bootstrap-table@undefined": {
"licenses": [
"MIT"
],
"homepage": "https://github.com/wenzhixin/bootstrap-table",
"repository": "git+https://github.com/wenzhixin/bootstrap-table"
},
"html2canvas@0.4.1": {
"licenses": [
@@ -126,26 +124,12 @@
"homepage": "https://github.com/jasny/bootstrap",
"repository": "git+https://github.com/jasny/bootstrap"
},
"bootstrap-daterangepicker@2.1.24": {
"jquery-validation@1.13.1": {
"licenses": [
"MIT"
],
"homepage": "https://github.com/dangrossman/bootstrap-daterangepicker",
"repository": "git+https://github.com/dangrossman/bootstrap-daterangepicker"
},
"jspdf-autotable@2.0.14": {
"licenses": [
"MIT"
],
"homepage": "https://github.com/simonbengtsson/jspdf-autotable",
"repository": "git+https://github.com/simonbengtsson/jsPDF-AutoTable"
},
"bootstrap-table@undefined": {
"licenses": [
"MIT"
],
"homepage": "https://github.com/wenzhixin/bootstrap-table",
"repository": "git+https://github.com/wenzhixin/bootstrap-table"
"repository": "https://github.com/jzaefferer/jquery-validation",
"homepage": "http://jqueryvalidation.org/"
},
"bootstrap@3.3.7": {
"licenses": [
@@ -154,11 +138,27 @@
"homepage": "http://getbootstrap.com",
"repository": "git+https://github.com/twbs/bootstrap"
},
"chartist-plugin-barlabels@0.0.5": {
"jspdf-autotable@2.0.14": {
"licenses": [
"WTF*"
"MIT"
],
"homepage": "https://github.com/mtgibbs/chartist-plugin-barlabels"
"homepage": "https://github.com/simonbengtsson/jspdf-autotable",
"repository": "git+https://github.com/simonbengtsson/jsPDF-AutoTable"
},
"remarkable-bootstrap-notify@3.1.3": {
"licenses": [
"MIT"
],
"homepage": "http://bootstrap-notify.remabledesigns.com/",
"repository": "https://github.com/mouse0270/bootstrap-notify"
},
"smalot-bootstrap-datetimepicker@2.3.11": {
"licenses": [
"Apache 2.0",
"Apache*"
],
"homepage": "https://github.com/smalot/bootstrap-datetimepicker",
"repository": "https://github.com/smalot/bootstrap-datetimepicker"
},
"jquery-ui@1.11.4": {
"licenses": [