Fix links for billing

This commit is contained in:
laf
2016-04-29 23:54:33 +00:00
parent 16a52912e8
commit 31e8657325

View File

@@ -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';
<?php
}
?>
</script>
</script>