www/js/inv_yeasts.js

changeset 278
dc22dd5d77fd
parent 269
25696a91b395
child 286
124af734af68
equal deleted inserted replaced
277:7776b3c68c46 278:dc22dd5d77fd
50 50
51 $('#totval').val(dataRecord.cost * dataRecord.inventory); 51 $('#totval').val(dataRecord.cost * dataRecord.inventory);
52 if (dataRecord.form == 0) { // Liquid 52 if (dataRecord.form == 0) { // Liquid
53 $("#pmpt_cost").html('Prijs per pak:'); 53 $("#pmpt_cost").html('Prijs per pak:');
54 $("#pmpt_inventory").html('Voorraad pak(ken):'); 54 $("#pmpt_inventory").html('Voorraad pak(ken):');
55 $("#pmpt_cells").html('Biljoen cellen per pak:'); 55 $("#pmpt_cells").html('Miljard cellen per pak:');
56 $("#inventory").jqxNumberInput({ decimalDigits: 0, spinButtonsStep: 1 }); 56 $("#inventory").jqxNumberInput({ decimalDigits: 0 });
57 } else if (dataRecord.form == 1) { // Dry 57 } else if (dataRecord.form == 1) { // Dry
58 $("#pmpt_cost").html('Prijs per kg:'); 58 $("#pmpt_cost").html('Prijs per kg:');
59 $("#pmpt_inventory").html('Voorraad gram:'); 59 $("#pmpt_inventory").html('Voorraad gram:');
60 $("#pmpt_cells").html('Biljoen cellen per gram:'); 60 $("#pmpt_cells").html('Miljard cellen per gram:');
61 $("#inventory").jqxNumberInput({ decimalDigits: 1, spinButtonsStep: 0.5 }); 61 $("#inventory").jqxNumberInput({ decimalDigits: 1 });
62 } else { 62 } else {
63 $("#pmpt_cost").html('Prijs per liter:'); 63 $("#pmpt_cost").html('Prijs per liter:');
64 $("#pmpt_inventory").html('Voorraad ml:'); 64 $("#pmpt_inventory").html('Voorraad ml:');
65 $("#pmpt_cells").html('Biljoen cellen per ml:'); 65 $("#pmpt_cells").html('Miljard cellen per ml:');
66 $("#inventory").jqxNumberInput({ decimalDigits: 1, spinButtonsStep: 0.5 }); 66 $("#inventory").jqxNumberInput({ decimalDigits: 1 });
67 } 67 }
68 } 68 }
69 69
70 var url = "includes/db_inventory_yeasts.php"; 70 var url = "includes/db_inventory_yeasts.php";
71 // prepare the data 71 // prepare the data

mercurial