add hidden account, cart insert/delete

add hidden account support
add delete/payout buttons to carts
add backend product sales with pdf export
add frontend product sales with pdf export
add frontend ticket sales with pdf export
This commit is contained in:
2016-01-03 18:29:39 +01:00
parent 62bcb7ff27
commit 595f663820
43 changed files with 2154 additions and 24 deletions

View File

@@ -1,6 +1,8 @@
$.widget( "fitness.transferList", {
options: {
transfers: [],
url_delete : '',
url_pay : '',
columns: [
{ 'label' : 'Idő' },
@@ -8,6 +10,7 @@ $.widget( "fitness.transferList", {
{ 'label' : 'Ár' },
{ 'label' : 'Db' },
{ 'label' : 'Összesen' },
{ 'label' : '' },
],
footers: [
{
@@ -100,6 +103,14 @@ $.widget( "fitness.transferList", {
s += '<td class=\'product-money\' >';
s += transfer.money;
s += '</td>';
s += '<td class=\'product-action\' style="width: 110px;" >';
s += '<form action="'+this.options.url_pay +"&id="+ transfer.id_transfer +'" method="POST" >';
s += "<button type='submit' class='btn btn-success pull-left' style='margin-right: 3px;' title='Tranzakció kifizetve' ><span style='font-size: 10px;' class= 'glyphicon glyphicon-eur\'></span></button>";
s += '</form>';
s += '<form action="'+this.options.url_delete +"&id="+ transfer.id_transfer +'" method="POST">';
s += "<button type='submit' class='btn btn-danger pull-left' title='Tranzakció törlése' ><span style='font-size: 10px;' class= 'glyphicon glyphicon-trash\'></span></button>";
s += '</form>';
s += '</td>';
s += '</tr>';
break;
case 'footer':
@@ -120,6 +131,9 @@ $.widget( "fitness.transferList", {
s += "<td class=\'product-money\' >";
s += footer.total( params.transfers );
s += "</td>";
s += "<td >";
s += "";
s += "</td>";
s += "</tr>";
}
s += "</tfoot>";