Fixed message on po line removal in purchase invoice.
authorJanusz Dobrowolski <janusz@frontaccouting.eu>
Wed, 4 May 2011 14:55:53 +0000 (16:55 +0200)
committerJanusz Dobrowolski <janusz@frontaccouting.eu>
Wed, 4 May 2011 14:55:53 +0000 (16:55 +0200)
purchasing/includes/ui/invoice_ui.inc

index 111ac32411c6c1973fcf60d2547dcb0a122f7313..1be65a16c4328a7101d83c4960063488f443e8bc 100644 (file)
@@ -394,7 +394,7 @@ function display_grn_items_for_selection(&$supp_trans, $k)
                if (($supp_trans->trans_type == ST_SUPPINVOICE) && $_SESSION["wa_current_user"]->can_access('SA_GRNDELETE')) {  // Added 2008-10-18 by Joe Hunt. Special access rights needed.
                        submit_cells('void_item_id'.$n, _("Remove"), '', _("WARNING! Be careful with removal. The operation is executed immediately and cannot be undone !!!"), true);
                                submit_js_confirm('void_item_id'.$n,
-                                       sprintf(_('You are about to remove all yet non-invoiced items from delivery line #%d. This operation also irreversibly changes related order line. Do you want to continue ?'), $n));
+                                       _('You are about to remove all yet non-invoiced items from selected delivery line. This operation also irreversibly changes related order line. Do you want to continue ?'));
                        }
                        end_row();
        }