Update of property/inc
Modified Files:
Branch: MAIN
class.uiinvoice.inc.php lines: +7 -3
Log Message:
no message
====================================================
Index: property/inc/class.uiinvoice.inc.php
diff -u property/inc/class.uiinvoice.inc.php:1.17
property/inc/class.uiinvoice.inc.php:1.18
--- property/inc/class.uiinvoice.inc.php:1.17 Thu May 12 21:26:28 2005
+++ property/inc/class.uiinvoice.inc.php Mon Jun 27 09:40:04 2005
@@ -942,10 +942,14 @@
$receipt['error'][] =
array('msg'=>lang('Please - select budget responsible!'));
}
- if
(!$this->bo->check_vendor($values['vendor_id']) && !$order)
+ if(!$order && $values['vendor_id'])
{
- $receipt['error'][] =
array('msg'=>lang('That Vendor ID is not valid !'). ' : ' .
$values['vendor_id']);
+ if
(!$this->bo->check_vendor($values['vendor_id']))
+ {
+ $receipt['error'][] =
array('msg'=>lang('That Vendor ID is not valid !'). ' : ' .
$values['vendor_id']);
+ }
}
+
if (!$values['payment_date'] &&
!$values['num_days'])
{
$receipt['error'][] =
array('msg'=>lang('Please - select either payment date or number of days from
invoice date !'));
_______________________________________________
Phpgroupware-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs