MARX#35457 velden materiaal iets beter uitlijnen

svn path=/Website/trunk/; revision=28859
This commit is contained in:
Ruud Lipper
2016-04-12 10:07:00 +00:00
parent 062dfe1912
commit ad29bd8701

View File

@@ -160,9 +160,9 @@ function makeMaterialHtml(matExistArray)
+ "</th>"
+ "<th style='text-align:right'><label>" + L("lcl_mld_opdr_aantal") + "</label></th>"
+ "<th><label>" + L("lcl_descr") + "</label></th>"
+ "<th style='text-align:right'><label>" + L("lcl_mld_opdr_eenheid") + "</label></th>"
+ "<th style='text-align:left'><label>" + L("lcl_mld_opdr_eenheid") + "</label></th>"
+ "<th style='text-align:right'><label>" + L("lcl_mld_opdr_prijs") + "</label></th>"
+ "<th style='text-align:right'><label>" + L("lcl_mld_opdr_btw") + "</label></th>"
+ "<th style='text-align:left'><label>" + L("lcl_mld_opdr_btw") + "</label></th>"
+ "<th style='text-align:right'><label>" + L("lcl_mld_opdr_totaal") + "</label></th>"
+ "</tr>"
+ "</thead>";
@@ -360,7 +360,7 @@ function CreateRow(qty, unit, prc, btw, descr, key)
+ " onfocus='this.select();'"
+ " onblur='QtyChanged(event);'"
+ " id='qty" + rowIndex + "' name='qty" + rowIndex + "' maxlength='10' value='" + parseFloat(qty) + "'>";
cell.align = 'right';
cell.align = 'left';
// Create description field
cell = tr.insertCell(-1);
@@ -375,7 +375,7 @@ function CreateRow(qty, unit, prc, btw, descr, key)
+ " onfocus='this.select();'"
+ " onblur='UnitChanged(event);'"
+ " id='unit" + rowIndex + "' name='unit" + rowIndex + "' value='" + unit + "'>";
cell.align = 'right';
cell.align = 'left';
// Create price field
cell = tr.insertCell(-1);
@@ -383,12 +383,12 @@ function CreateRow(qty, unit, prc, btw, descr, key)
+ " onfocus='this.select();'"
+ " onblur='PrcChanged(event);'"
+ " id='prc" + rowIndex + "' name='prc" + rowIndex + "' maxlength='10' value='" + num2curr(parseFloat(prc)) + "'>";
cell.align = 'right';
cell.align = 'left';
// Create BTW field
cell = tr.insertCell(-1);
cell.innerHTML = "<div id='btwdiv" + rowIndex + "'></div>";
cell.align = 'right';
cell.align = 'left';
cell.className = 'fldbtw';
// Create total field