X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcustomer_invoice.php;h=ba0c8a413ffe7618c0311f3713bb6847f1864186;hb=982b7733b1249637671f24d9720116602850635f;hp=e4ab5158322f95ef6fffea1a7f20fdf724a76317;hpb=f11b39846d81bd043490ba9596224b859e47467c;p=fa-stable.git diff --git a/sales/customer_invoice.php b/sales/customer_invoice.php index e4ab5158..ba0c8a41 100644 --- a/sales/customer_invoice.php +++ b/sales/customer_invoice.php @@ -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();