www/js/prod_inprod.js

changeset 832
2641860ad61d
parent 816
d76f623d487c
equal deleted inserted replaced
831:21fae4d2203e 832:2641860ad61d
78 } 78 }
79 return '<span style="margin: 3px; margin-top: 6px; float: left;">' + fase + '</span>'; 79 return '<span style="margin: 3px; margin-top: 6px; float: left;">' + fase + '</span>';
80 } 80 }
81 }, 81 },
82 { text: '', datafield: 'Edit', width: 100, align: 'center', columntype: 'button', cellsrenderer: function() { 82 { text: '', datafield: 'Edit', width: 100, align: 'center', columntype: 'button', cellsrenderer: function() {
83 return 'Wijzig'; 83 return 'Bekijk';
84 }, buttonclick: function(row) { 84 }, buttonclick: function(row) {
85 var datarecord = dataAdapter.records[row]; 85 var datarecord = dataAdapter.records[row];
86 window.location.href = 'prod_edit.php?record=' + datarecord.record + '&select=inprod&return=prod_inprod.php'; 86 window.location.href = 'prod_view.php?record=' + datarecord.record + '&select=inprod&return=prod_inprod.php';
87 } 87 }
88 } 88 }
89 ], 89 ],
90 }); 90 });
91 }); 91 });

mercurial