Bank Payment, Bank Deposit: all parameters now passed to write_bank_transaction(...
[fa-stable.git] / sales / customer_invoice.php
index e4ab5158322f95ef6fffea1a7f20fdf724a76317..ba0c8a413ffe7618c0311f3713bb6847f1864186 100644 (file)
@@ -467,13 +467,13 @@ start_row();
 if (!isset($_POST['ship_via'])) {
        $_POST['ship_via'] = $_SESSION['Items']->ship_via;
 }
-label_cell(_("Shipping Company"), "class='tableheader2'");
+label_cell(_("Shipping"), "class='tableheader2'");
 if ($prepaid)
 {
-       $shipper = get_shipper($_SESSION['Items']->ship_via);
-       label_cells(null, $shipper['shipper_name']);
+       $shipping = get_item($_SESSION['Items']->ship_via);
+       label_cells(null, $shipping['description']);
 } else
-       shippers_list_cells(null, 'ship_via', $_POST['ship_via']);
+       shipping_methods_list_cells(null, 'ship_via', $_POST['ship_via']);
 
 if (!isset($_POST['InvoiceDate']) || !is_date($_POST['InvoiceDate'])) {
        $_POST['InvoiceDate'] = new_doc_date();