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

SF.net SVN: ledger-smb:[2902] addons/1.3/assets/trunk/UI/asset/ begin_approval.html



Revision: 2902
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2902&view=rev
Author:   einhverfr
Date:     2010-02-19 19:01:21 +0000 (Fri, 19 Feb 2010)

Log Message:
-----------
Adding template for approval

Added Paths:
-----------
    addons/1.3/assets/trunk/UI/asset/begin_approval.html

Added: addons/1.3/assets/trunk/UI/asset/begin_approval.html
===================================================================
--- addons/1.3/assets/trunk/UI/asset/begin_approval.html	                        (rev 0)
+++ addons/1.3/assets/trunk/UI/asset/begin_approval.html	2010-02-19 19:01:21 UTC (rev 2902)
@@ -0,0 +1,79 @@
+<?lsmb INCLUDE "ui-header.html"
+       include_stylesheet = ["UI/asset/asset.css"] -?>
+<?lsmb PROCESS "elements.html" -?>
+<body>
+<form action="asset.pl" method="post">
+<div class="listtop"><?lsmb text('New Asset Report') ?></div>
+<div class="inputrow" id="classrow"><div class="inputgroup" id="classgrp">
+<?lsmb asset_classes.unshift({}) ?>
+<?lsmb PROCESS select element_data = {
+     name = "asset_class"
+     default_values = [asset_class]
+     options = asset_classes
+     text_attr = "label"
+     value_attr = "id"
+     label = text('Asset Class') #'
+} ?>
+</div></div>
+<?lsmb PROCESS input element_data = {
+     name = "start_date"
+     class = "date"
+     value = start_date
+     label = text("From")
+} ?>
+</div>
+<div class="inputgroup" id="todategroup">
+<?lsmb PROCESS input element_data = {
+     name = "end_date"
+     class = "date"
+     value = end_date
+     label = text("To")
+} ?>
+</div>
+</div>
+<div class="inputrow" id="accountrow">
+<?lsmb IF depreciation ?>
+<div class="inputgroup" id="expenserow">
+<?lsmb PROCESS select element_data = {
+     name = "expense_acct"
+     class = "account"
+     options = dep_expense_accts
+     default_values = [expense_acct]
+     label = text('Expense Account') #'
+} ?>
+</div>
+<?lsmb ELSE ?>
+<div class="inputgroup" id="gaingroup"
+<?lsmb PROCESS select element_data = {
+     name = "gain_acct"
+     class = "account"
+     options = gain_accts
+     default_values = [gain_acct]
+     label = text('Gain Account') #'
+} ?>
+</div>
+<div class="inputgroup" id="lossgroup"
+<?lsmb PROCESS select element_data = {
+     name = "loss_acct"
+     class = "account"
+     options = loss_accts
+     default_values = [loss_acct]
+     label = text('Loss Account') #'
+} ?>
+</div>
+<?lsmb END ?>
+</div>
+<div class="inputrow" id="buttonrow">
+<div class="inputgroup" id="buttongroupnext">
+<label>&nbsp;</label>
+<?lsmb PROCESS button element_data = {
+     name = "action"
+     text = text("Continue")
+     value = "report_results"
+     type = "submit"
+     class = "submit"
+} ?>
+</div></div>
+</form>
+</body>
+</html>


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