fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [11863] property: move comment


From: Sigurd Nes
Subject: [Fmsystem-commits] [11863] property: move comment
Date: Tue, 25 Mar 2014 14:27:50 +0000

Revision: 11863
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11863
Author:   sigurdne
Date:     2014-03-25 14:27:49 +0000 (Tue, 25 Mar 2014)
Log Message:
-----------
property: move comment

Modified Paths:
--------------
    trunk/property/inc/export/default/Agresso_X114

Modified: trunk/property/inc/export/default/Agresso_X114
===================================================================
--- trunk/property/inc/export/default/Agresso_X114      2014-03-24 21:10:09 UTC 
(rev 11862)
+++ trunk/property/inc/export/default/Agresso_X114      2014-03-25 14:27:49 UTC 
(rev 11863)
@@ -787,7 +787,7 @@
                                        'PURCHASEORDERNO'                       
=> $oRsBilag[0]['order_id'], // 1409220008
                                        'PURCHASEORDEROWNER.CODE'       => 
$oRsBilag[0]['spvend_code'], // 100644
                                        'PURCHASEORDERSTATUS.CODE'      => 
$purchaseorderstatus,
-                                       'GENERALCOMMENT'                        
=> $comment, // Denne er fakturert i 3 deler OBS OBS!
+                                       'GENERALCOMMENT'                        
=> ''//$comment, // Denne er fakturert i 3 deler OBS OBS!
                                )
                        );
 
@@ -972,7 +972,11 @@
                                );
                        }
 
-                       $invoiceheader[0]['GENERALCOMMENT'] = 
implode("\n",$comment);
+//                     $invoiceheader[0]['GENERALCOMMENT'] = 
implode("\n",$comment);
+                       if($comment)
+                       {
+                               $invoiceheader[0]['PURCHASEORDERSTATUS.CODE'] 
.= " \n" . implode("\n",$comment);
+                       }
                        $invoices = array
                        (
                                0 => array




reply via email to

[Prev in Thread] Current Thread [Next in Thread]