mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix links for billing
This commit is contained in:
@@ -79,7 +79,7 @@ if ($_POST['addbill'] == 'yes') {
|
|||||||
dbInsert(array('bill_id' => $bill_id, 'port_id' => $_POST['port_id']), 'bill_ports');
|
dbInsert(array('bill_id' => $bill_id, 'port_id' => $_POST['port_id']), 'bill_ports');
|
||||||
}
|
}
|
||||||
|
|
||||||
header('Location: /' . generate_url(array('page' => 'bill', 'bill_id' => $bill_id, 'view' => 'edit')));
|
header('Location: ' . generate_url(array('page' => 'bill', 'bill_id' => $bill_id, 'view' => 'edit')));
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -159,7 +159,7 @@ include 'includes/modal/new_bill.inc.php';
|
|||||||
period: $('select#period').val()
|
period: $('select#period').val()
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
url: "/ajax_table.php"
|
url: "ajax_table.php"
|
||||||
}).on("loaded.rs.jquery.bootgrid", function() {
|
}).on("loaded.rs.jquery.bootgrid", function() {
|
||||||
});
|
});
|
||||||
$('#table-filters select').on('change', function() { grid.bootgrid('reload'); });
|
$('#table-filters select').on('change', function() { grid.bootgrid('reload'); });
|
||||||
@@ -173,4 +173,4 @@ include 'includes/modal/new_bill.inc.php';
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user