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

SF.net SVN: ledger-smb:[6315] trunk



Revision: 6315
          http://sourceforge.net/p/ledger-smb/code/6315
Author:   einhverfr
Date:     2013-12-08 15:04:15 +0000 (Sun, 08 Dec 2013)
Log Message:
-----------
Fixing two errors relating to the crdate patches

Modified Paths:
--------------
    trunk/LedgerSMB/IS.pm
    trunk/bin/is.pl

Modified: trunk/LedgerSMB/IS.pm
===================================================================
--- trunk/LedgerSMB/IS.pm	2013-12-08 02:23:41 UTC (rev 6314)
+++ trunk/LedgerSMB/IS.pm	2013-12-08 15:04:15 UTC (rev 6315)
@@ -1636,7 +1636,7 @@
 		       till = ?,
 		       language_code = ?,
 		       ponumber = ?,
-                       approved = ?
+                       approved = ?,
 		       crdate = ?
 		 WHERE id = ?
              |;
@@ -1654,7 +1654,7 @@
         $form->{currency},
         $form->{employee_id},   $form->{till},
         $form->{language_code}, $form->{ponumber}, $approved,
-        $form->{crdate},	$form->{id}
+        $form->{crdate} || 'today',	$form->{id}
     ) || $form->dberror($query);
 
     # add shipto

Modified: trunk/bin/is.pl
===================================================================
--- trunk/bin/is.pl	2013-12-08 02:23:41 UTC (rev 6314)
+++ trunk/bin/is.pl	2013-12-08 15:04:15 UTC (rev 6315)
@@ -595,7 +595,7 @@
 	      </tr>
 	      <tr class="crdate-row">
 		<th align=right>| . $locale->text('Invoice Created') . qq|</th>
-		<td><input class="date" name="crdate" size="11" title="$myconfig{dateformat}" value="$form->{crdate}"></td>
+		<td><input class="date" name="crdate" size="11" title="$myconfig{dateformat}" value="$form->{crdate}" id="crdate"></td>
 	      </tr>
 	      <tr class="transdate-row">
 		<th align=right>| . $locale->text('Invoice Date') . qq|</th>

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits