add changes to sell product

This commit is contained in:
2015-10-06 09:29:50 +02:00
parent 2610749305
commit 8fbe963379
6 changed files with 186 additions and 25 deletions

View File

@@ -2,6 +2,8 @@ $.widget( "fitness.transferList", {
options: {
transfers: [],
columns: [
{ 'label' : 'Idő' },
{ 'label' : 'Termék' },
{ 'label' : 'Ár' },
{ 'label' : 'Db' },
@@ -83,6 +85,9 @@ $.widget( "fitness.transferList", {
case 'row':
transfer = params.transfer;
s += '<tr>';
s += '<td class="product-time">';
s += transfer.time;
s += '</td>';
s += '<td class="product-name">';
s += transfer.product_name;
s += '</td>';
@@ -102,9 +107,11 @@ $.widget( "fitness.transferList", {
for ( var i = 0; i < params.footers.length; i++ ){
footer = params.footers[i];
s += "<tr class='warning' >";
s += "<th class='product-name'>";
s += "<th class='product-time'>";
s += footer.label;
s += "</th>";
s += "<th class='product-name'>";
s += "</th>";
s += "<td class=\"sale-price\">";
s += "</td>";
s += "<td class=\'product-count\' >";