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

SF.net SVN: ledger-smb:[6630] trunk/UI/inventory/adjustment_entry.html



Revision: 6630
          http://sourceforge.net/p/ledger-smb/code/6630
Author:   einhverfr
Date:     2014-01-25 06:52:41 +0000 (Sat, 25 Jan 2014)
Log Message:
-----------
screen now shows correct first row entry, does not update because inventory header information not given.

Modified Paths:
--------------
    trunk/UI/inventory/adjustment_entry.html

Modified: trunk/UI/inventory/adjustment_entry.html
===================================================================
--- trunk/UI/inventory/adjustment_entry.html	2014-01-25 06:48:12 UTC (rev 6629)
+++ trunk/UI/inventory/adjustment_entry.html	2014-01-25 06:52:41 UTC (rev 6630)
@@ -25,9 +25,10 @@
 		<th><?lsmb text('On Hand') ?></th>
 		<th><?lsmb text('Adjustment') ?></th>
 	</tr>
-	<?lsmb FOREACH i = [ 1 .. rowcount ];
+	<?lsmb IF ! rowcount;  rowcount = 1; END; 
+           FOREACH i = [ 1 .. rowcount ];
               id_id = "id_$i";
-              IF NOT $id_id;
+              IF ! $id_id;
                  $id_id = "New_$i";
               END;
 		# ids are numeric -?>

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


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits