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

SF.net SVN: ledger-smb:[6122] trunk/UI/timecards/timecard.html



Revision: 6122
          http://sourceforge.net/p/ledger-smb/code/6122
Author:   einhverfr
Date:     2013-10-09 07:35:54 +0000 (Wed, 09 Oct 2013)
Log Message:
-----------
Timecards no longer display print options before being saved (same rule as transactions, cannot print before saving)

Modified Paths:
--------------
    trunk/UI/timecards/timecard.html

Modified: trunk/UI/timecards/timecard.html
===================================================================
--- trunk/UI/timecards/timecard.html	2013-10-09 07:17:21 UTC (rev 6121)
+++ trunk/UI/timecards/timecard.html	2013-10-09 07:35:54 UTC (rev 6122)
@@ -118,30 +118,33 @@
     </td>
 </tr>
 </table>
-<?lsmb PROCESS print_options ?>
-<?lsmb PROCESS button element_data = {
+<?lsmb IF id; PROCESS print_options; END; ?>
+<?lsmb 
+IF id;
+    PROCESS button element_data = {
    name = 'action'
    type = 'submit'
   class = 'submit'
+   text = text('Print')
+  value = 'print'
+   };
+ELSE;
+   PROCESS button element_data = {
+   name = 'action'
+   type = 'submit'
+  class = 'submit'
    text = text('Update')
   value = 'update_day' 
-} ?>
-<?lsmb PROCESS button element_data = {
+   };
+   PROCESS button element_data = {
    name = 'action'
    type = 'submit'
   class = 'submit'
    text = text('Save')
   value = 'save'
-} ?>
-<?lsmb IF id ?>
-<?lsmb PROCESS button element_data = {
-   name = 'action'
-   type = 'submit'
-  class = 'submit'
-   text = text('Print')
-  value = 'print'
-} ?>
-<?lsmb END ?>
+   };
+END;
+?>
 </form>
 </body>
 </html>

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


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits