From 31e86573251b47ebe8ddf8431bdb634e96f8d873 Mon Sep 17 00:00:00 2001 From: laf Date: Fri, 29 Apr 2016 23:54:33 +0000 Subject: [PATCH] Fix links for billing --- html/pages/bills.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/pages/bills.inc.php b/html/pages/bills.inc.php index ad51bfc007..9c20967bb6 100644 --- a/html/pages/bills.inc.php +++ b/html/pages/bills.inc.php @@ -79,7 +79,7 @@ if ($_POST['addbill'] == 'yes') { 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(); } @@ -159,7 +159,7 @@ include 'includes/modal/new_bill.inc.php'; period: $('select#period').val() }; }, - url: "/ajax_table.php" + url: "ajax_table.php" }).on("loaded.rs.jquery.bootgrid", function() { }); $('#table-filters select').on('change', function() { grid.bootgrid('reload'); }); @@ -173,4 +173,4 @@ include 'includes/modal/new_bill.inc.php'; - \ No newline at end of file +