[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc/class.uiinvoice.inc.php, 1.1.1.2
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/inc/class.uiinvoice.inc.php, 1.1.1.2 |
Date: |
Sun, 30 May 2004 21:10:31 +0200 |
Update of /property/inc
Modified Files:
Branch:
class.uiinvoice.inc.php
date: 2004/05/30 19:10:31; author: sigurdne; state: Exp; lines: +6 -5
Log Message:
no message
=====================================================================
Index: property/inc/class.uiinvoice.inc.php
diff -u property/inc/class.uiinvoice.inc.php:1.1.1.1
property/inc/class.uiinvoice.inc.php:1.1.1.2
--- property/inc/class.uiinvoice.inc.php:1.1.1.1 Fri Apr 23 13:14:10 2004
+++ property/inc/class.uiinvoice.inc.php Sun May 30 19:10:31 2004
@@ -302,7 +302,7 @@
$data['lang_workorder_statustext']
= lang('enter the Workorder ID to search by workorder - at any date');
$data['workorder_id']
= $workorder_id;
- $data['addressbook_link']
=
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uilookup.addressbook');
+ $data['addressbook_link']
=
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uilookup.vendor');
$data['lang_select_vendor_statustext'] =
lang('Select the vendor by klicking this link');
$data['lang_vendor']
= lang('Vendor');
$data['property_link']
=
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uilocation.index&lookup=1&type_id=1&lookup_name=0');
@@ -618,9 +618,10 @@
if($vendor_id)
{
- $contacts =
CreateObject('phpgwapi.contacts');
- $vendor =
$contacts->read_single_entry((int)$vendor_id,array('org_name'=>'org_name'));
- $vendor_name = $vendor[0]['org_name'];
+ $contacts =
CreateObject($this->currentapp.'.soactor');
+ $contacts->role='vendor';
+ $vendor =
$contacts->read_single(array('actor_id'=>(int)$vendor_id));
+ $vendor_name = $vendor['org_name'];
}
$links = $this->menu->links('consume');
@@ -726,7 +727,7 @@
$data['lang_workorder_statustext'] =
lang('enter the Workorder ID to search by workorder - at any date');
$data['workorder_id']
= $workorder_id;
- $data['addressbook_link']
=
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uilookup.addressbook');
+ $data['addressbook_link']
=
$GLOBALS['phpgw']->link('/index.php','menuaction='.$this->currentapp.'.uilookup.vendor');
$data['lang_select_vendor_statustext'] = lang('Select
the vendor by klicking this link');
$data['lang_vendor']
= lang('Vendor');
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/inc/class.uiinvoice.inc.php, 1.1.1.2,
nomail <=