- $tosupp = $_POST['PARAM_2'];
- $currency = $_POST['PARAM_3'];
- $comments = $_POST['PARAM_4'];
-
- if ($fromsupp == null)
- $fromsupp = 0;
- if ($tosupp == null)
- $tosupp = 0;
+ $currency = $_POST['PARAM_2'];
+ $comments = $_POST['PARAM_3'];
+
+ if ($fromsupp == reserved_words::get_all_numeric())
+ $from = _('All');
+ else
+ $from = get_supplier_name($fromsupp);