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 }); |