Lines 354-365
Link Here
|
354 |
sale_table.DataTable().row($(this).parents('tr')).remove().draw(false); |
354 |
sale_table.DataTable().row($(this).parents('tr')).remove().draw(false); |
355 |
}); |
355 |
}); |
356 |
|
356 |
|
357 |
var items_columns_settings = [% TablesSettings.GetColumns('pos', 'pay', 'invoices', 'json') | $raw %]; |
357 |
var items_table_settings = [% TablesSettings.GetTableSettings('pos', 'pay', 'invoices', 'json') | $raw %]; |
358 |
var items_table = KohaTable("invoices", { |
358 |
var items_table = KohaTable("invoices", { |
359 |
"sPaginationType": "full", |
359 |
"sPaginationType": "full", |
360 |
"aaSorting": [[ 0, "asc" ]], |
360 |
"aaSorting": [[ 0, "asc" ]], |
361 |
"autoWidth": false |
361 |
"autoWidth": false |
362 |
}, items_columns_settings, false); |
362 |
}, items_table_settings, false); |
363 |
|
363 |
|
364 |
$("#invoices").on("click", ".add_button", function(e) { |
364 |
$("#invoices").on("click", ".add_button", function(e) { |
365 |
e.preventDefault(); |
365 |
e.preventDefault(); |