[lms-commits] CVS update of lms/modules (2 files)

LMS CVS cvs w lms.org.pl
Pon, 27 Wrz 2010, 15:16:48 CEST


Date: Monday, September 27, 2010 @ 15:16:48
Author: alec
Path: /cvsroot/lms/modules

Modified: customerassignmentadd.php customerassignmentedit.php

- allow setting assignment period for disposable liabilities
- don't remove disposable liabilities immediately after accounting, use specified delay like with non-disposable liabilities


Diff URLs:
http://cvs.lms.org.pl/viewvc/Development/lms/modules/customerassignmentadd.php.diff?&r1=1.4&r2=1.5
http://cvs.lms.org.pl/viewvc/Development/lms/modules/customerassignmentedit.php.diff?&r1=1.2&r2=1.3


Index: lms/modules/customerassignmentadd.php
diff -u lms/modules/customerassignmentadd.php:1.4 lms/modules/customerassignmentadd.php:1.5
--- lms/modules/customerassignmentadd.php:1.4	Fri Jun 25 11:30:58 2010
+++ lms/modules/customerassignmentadd.php	Mon Sep 27 15:16:48 2010
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
  *  USA.
  *
- *  $Id: customerassignmentadd.php,v 1.4 2010/06/25 09:30:58 alec Exp $
+ *  $Id: customerassignmentadd.php,v 1.5 2010/09/27 13:16:48 alec Exp $
  */
 
 // get customer name and check privileges using customersview
@@ -165,12 +165,6 @@
 		default: // DISPOSABLE
 			$period = DISPOSABLE;
 
-			if($a['tariffid'] != -1)
-			{
-				$a['dateto'] = '';
-				$a['datefrom'] = '';
-			}
-
 			if(preg_match('/^[0-9]{4}\/[0-9]{2}\/[0-9]{2}$/', $a['at']))
 			{
 				list($y, $m, $d) = explode('/', $a['at']);
Index: lms/modules/customerassignmentedit.php
diff -u lms/modules/customerassignmentedit.php:1.2 lms/modules/customerassignmentedit.php:1.3
--- lms/modules/customerassignmentedit.php:1.2	Wed Jun 23 16:03:53 2010
+++ lms/modules/customerassignmentedit.php	Mon Sep 27 15:16:48 2010
@@ -21,7 +21,7 @@
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
  *  USA.
  *
- *  $Id: customerassignmentedit.php,v 1.2 2010/06/23 14:03:53 alec Exp $
+ *  $Id: customerassignmentedit.php,v 1.3 2010/09/27 13:16:48 alec Exp $
  */
 
 // get customer name and check privileges using customersview
@@ -178,12 +178,6 @@
 		default: // DISPOSABLE
             $period = DISPOSABLE;
 
-			if($a['tariffid'] != -1)
-			{
-    			$a['dateto'] = '';
-	            $a['datefrom'] = '';
-			}
-
 	        if(preg_match('/^[0-9]{4}\/[0-9]{2}\/[0-9]{2}$/', $a['at']))
 			{
 				list($y, $m, $d) = explode('/', $a['at']);



Więcej informacji o liście lms-commits