fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17243] prepare for custom code outside tree


From: sigurdne
Subject: [Fmsystem-commits] [17243] prepare for custom code outside tree
Date: Wed, 1 Nov 2017 15:08:38 -0400 (EDT)

Revision: 17243
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17243
Author:   sigurdne
Date:     2017-11-01 15:08:37 -0400 (Wed, 01 Nov 2017)
Log Message:
-----------
prepare for custom code outside tree

Added Paths:
-----------
    
thirdparty/PE_custom/BK_EBF/property/inc/custom/default/estimert_ferdigdato_til_leieobjekt_BBB.php

Copied: 
thirdparty/PE_custom/BK_EBF/property/inc/custom/default/estimert_ferdigdato_til_leieobjekt_BBB.php
 (from rev 17218, 
trunk/property/inc/custom/default/estimert_ferdigdato_til_leieobjekt_BBB.php)
===================================================================
--- 
thirdparty/PE_custom/BK_EBF/property/inc/custom/default/estimert_ferdigdato_til_leieobjekt_BBB.php
                          (rev 0)
+++ 
thirdparty/PE_custom/BK_EBF/property/inc/custom/default/estimert_ferdigdato_til_leieobjekt_BBB.php
  2017-11-01 19:08:37 UTC (rev 17243)
@@ -0,0 +1,29 @@
+<?php
+       if ($data['cat_id'] == 4)
+       {
+               $db = $this->bocommon->new_db();
+
+               if (!$id)
+               {
+                       $id = $receipt['id'];
+               }
+
+               $db->query("SELECT * FROM fm_tts_tickets WHERE id='$id'", 
__LINE__, __FILE__);
+               $db->next_record();
+               if ($db->f('finnish_date2'))
+               {
+                       $finnish_date = $db->f('finnish_date2');
+               }
+               else
+               {
+                       $finnish_date = $db->f('finnish_date');
+               }
+
+               $location_code = $db->f('location_code');
+
+               if ($finnish_date > 0)
+               {
+                       $finnish_date = date($db->date_format(), $finnish_date);
+                       $db->query("UPDATE fm_location4 set finnish_date = 
'$finnish_date' WHERE location_code='$location_code'", __LINE__, __FILE__);
+               }
+       }


Property changes on: 
thirdparty/PE_custom/BK_EBF/property/inc/custom/default/estimert_ferdigdato_til_leieobjekt_BBB.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Revision Author Id
\ No newline at end of property
Added: svn:mergeinfo
## -0,0 +1,3 ##
+/branches/dev-syncromind/property/inc/custom/default/estimert_ferdigdato_til_leieobjekt_BBB.php:13653
+/branches/dev-syncromind-2/property/inc/custom/default/estimert_ferdigdato_til_leieobjekt_BBB.php:14933-16846
+/branches/stavangerkommune/property/inc/custom/default/estimert_ferdigdato_til_leieobjekt_BBB.php:12743-12875,12986
\ No newline at end of property



reply via email to

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