[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9110] property: use internal id for voucher list
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [9110] property: use internal id for voucher list |
Date: |
Tue, 10 Apr 2012 08:48:06 +0000 |
Revision: 9110
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9110
Author: sigurdne
Date: 2012-04-10 08:48:05 +0000 (Tue, 10 Apr 2012)
Log Message:
-----------
property: use internal id for voucher list
Modified Paths:
--------------
trunk/property/inc/class.soinvoice.inc.php
Modified: trunk/property/inc/class.soinvoice.inc.php
===================================================================
--- trunk/property/inc/class.soinvoice.inc.php 2012-04-10 07:02:55 UTC (rev
9109)
+++ trunk/property/inc/class.soinvoice.inc.php 2012-04-10 08:48:05 UTC (rev
9110)
@@ -1816,9 +1816,9 @@
while($this->db->next_record())
{
- $id = $this->db->f('bilagsnr_ut') ?
$this->db->f('bilagsnr_ut') : $this->db->f('bilagsnr');
+ $voucher_id = $this->db->f('bilagsnr_ut') ?
$this->db->f('bilagsnr_ut') : $this->db->f('bilagsnr');
$name = sprintf("{$lang_voucer}:% 8s |
{$lang_vendor}:% 20s | {$lang_currency}:% 3s | {$lang_parked}: % 1s |
{$lang_type}: % 12s | {$lang_approved_amount}: % 19s",
- $id,
+ $voucher_id,
trim(strtoupper($this->db->f('org_name',true))),
$this->db->f('currency'),
$this->db->f('kreditnota') ? 'X' : '',
@@ -1828,7 +1828,7 @@
$values[] = array
(
- 'id' => $id,
+ 'id' => $this->db->f('bilagsnr'),
'name' => $name
);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9110] property: use internal id for voucher list,
Sigurd Nes <=