Modificar parámetro de función 'edit' para mejorar la claridad y manejo de transacciones
This commit is contained in:
@@ -660,11 +660,12 @@ PAGES.pagos = {
|
||||
},
|
||||
|
||||
// Edit/view transaction
|
||||
edit: function (tid) {
|
||||
edit: function (ftid) {
|
||||
if (!checkRole('pagos')) {
|
||||
setUrlHash('pagos');
|
||||
return;
|
||||
}
|
||||
var tid = ftid.split(',')[0];
|
||||
var tid2 = location.hash.split(',');
|
||||
if (tid == 'datafono') {
|
||||
PAGES.pagos.datafono();
|
||||
|
||||
Reference in New Issue
Block a user