[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc class.uiinvoice.inc.php,1.18
From: |
sigurdne |
Subject: |
[Phpgroupware-cvs] property/inc class.uiinvoice.inc.php,1.18 |
Date: |
Mon, 27 Jun 2005 11:40:00 +0200 |
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 !'));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/inc class.uiinvoice.inc.php,1.18,
sigurdne <=