[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/inc/class.soXport.inc.php, 1.6
From: |
nomail |
Subject: |
[Phpgroupware-cvs] property/inc/class.soXport.inc.php, 1.6 |
Date: |
Thu, 12 Aug 2004 20:56:23 +0200 |
Update of /property/inc
Modified Files:
Branch:
class.soXport.inc.php
date: 2004/08/12 18:56:23; author: sigurdne; state: Exp; lines: +10 -4
Log Message:
no message
=====================================================================
Index: property/inc/class.soXport.inc.php
diff -u property/inc/class.soXport.inc.php:1.5
property/inc/class.soXport.inc.php:1.6
--- property/inc/class.soXport.inc.php:1.5 Thu Jul 15 12:03:25 2004
+++ property/inc/class.soXport.inc.php Thu Aug 12 18:56:23 2004
@@ -104,12 +104,11 @@
}
- function check_pmwrkord_code($pmwrkord_code)
+ function check_order($id)
{
-
- $this->db->query("select count(*) from fm_workorder
where id='$pmwrkord_code'");
+ $this->db->query("select id,type from fm_orders where
id='$id'");
$this->db->next_record();
- return $this->db->f(0);
+ return $this->db->f('type');
}
function check_spbudact_code($id)
@@ -476,6 +475,13 @@
return $batchid;
}
+ function get_responsible($b_abbount_id)
+ {
+ $this->db->query("select account_lid from fm_b_account
$this->join phpgw_accounts on fm_b_account.responsible =
phpgw_accounts.account_id where fm_b_account.id = '$b_abbount_id'");
+ $this->db->next_record();
+ $responsible = $this->db->f('account_lid');
+ return $responsible;
+ }
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] property/inc/class.soXport.inc.php, 1.6,
nomail <=