[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13850]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [13850] |
Date: |
Fri, 04 Sep 2015 00:21:10 +0000 |
Revision: 13850
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13850
Author: nelson224
Date: 2015-09-04 00:21:10 +0000 (Fri, 04 Sep 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/rental/templates/base/billing.xsl
Modified: branches/dev-syncromind/rental/templates/base/billing.xsl
===================================================================
--- branches/dev-syncromind/rental/templates/base/billing.xsl 2015-09-04
00:20:55 UTC (rev 13849)
+++ branches/dev-syncromind/rental/templates/base/billing.xsl 2015-09-04
00:21:10 UTC (rev 13850)
@@ -25,12 +25,53 @@
<xsl:value-of disable-output-escaping="yes"
select="tabs"/>
<div id="details">
<fieldset>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'fields_of_responsibility')"/>
+ </label>
+ <xsl:text> </xsl:text>
+ <xsl:value-of
select="fields_of_responsibility_label"/>
+ <input type="hidden"
name="contract_type" id="contract_type" value="{contract_type}"/>
+ <input type="hidden"
name="step" value="1"/>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'title')"/>
+ </label>
+ <input type="text"
name="title" id="title" value="{title}"/>
+ <select
id="existing_billing" name="existing_billing">
+
<xsl:apply-templates select="list_existing_billing/options"/>
+ </select>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'Year')"/>
+ </label>
+ <select id="year"
name="year">
+
<xsl:apply-templates select="list_year/options"/>
+ </select>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'billing_term')"/>
+ </label>
+ <select
id="billing_term" name="billing_term">
+
<xsl:apply-templates select="list_billing_term_group/option_group"/>
+ </select>
+ </div>
+ <div class="pure-control-group">
+ <label>
+ <xsl:value-of
select="php:function('lang', 'Export format')"/>
+ </label>
+ <input type="hidden"
name="export_format" id="export_format" value="{export_format}"/>
+ <xsl:value-of
select="export_format"/>
+ </div>
</fieldset>
</div>
</div>
<div class="proplist-col">
- <input type="submit" class="pure-button
pure-button-primary" name="save_contract" value="{lang_save}"
onMouseout="window.status='';return true;"/>
- <input type="button" class="pure-button
pure-button-primary" name="contract_back" value="{lang_cancel}"
onMouseout="window.status='';return true;"
onClick="document.cancel_form.submit();"/>
+ <input type="button" class="pure-button
pure-button-primary" name="cancel" value="{lang_cancel}"
onMouseout="window.status='';return true;"
onClick="document.cancel_form.submit();"/>
+ <input type="submit" class="pure-button
pure-button-primary" name="next" value="{lang_next}"
onMouseout="window.status='';return true;"/>
</div>
</form>
<xsl:variable name="cancel_url">
@@ -52,18 +93,59 @@
<xsl:value-of disable-output-escaping="yes"
select="tabs"/>
<div id="details">
<fieldset>
+ <input type="hidden"
name="step" value="2"/>
+ <input type="hidden"
name="contract_type" value="{contract_type}"/>
+ <input type="hidden"
name="year" value="{year}"/>
+ <input type="hidden"
name="month" value="{month}"/>
+ <input type="hidden"
name="title" value="{title}"/>
+ <input type="hidden"
name="use_existing" value="{use_existing}"/>
+ <input type="hidden"
name="existing_billing" value="{existing_billing}"/>
+ <input type="hidden"
name="billing_term" value="{billing_term}"/>
+ <input type="hidden"
name="billing_term_selection" value="{billing_term_selection}"/>
+ <input type="hidden"
name="export_format" value="{export_format}"/>
+
+ <div>
+ <dl>
+
<dt><xsl:value-of select="php:function('lang', 'contract_type')"/></dt>
+
<dd><xsl:value-of select="fields_of_responsibility_label"/></dd>
+
<dt><xsl:value-of select="php:function('lang', 'billing_start')"/></dt>
+
<dd><xsl:value-of select="billing_start"/></dd>
+
<dt><xsl:value-of select="php:function('lang', 'year')"/></dt>
+
<dd><xsl:value-of select="year"/></dd>
+
<dt><xsl:value-of select="php:function('lang', 'Export format')"/></dt>
+
<dd><xsl:value-of select="export_format"/></dd>
+ <xsl:if
test="billing_term = 1">
+
<dt><xsl:value-of select="php:function('lang', 'month')"/></dt>
+
<dd><xsl:value-of select="month"/></dd>
+ </xsl:if>
+
<dt><xsl:value-of select="php:function('lang', 'billing_term')"/></dt>
+
<dd><xsl:value-of select="billing_term_label"/></dd>
+ </dl>
+ </div>
+ <div>
+ <div
class="proplist-col">
+ <input
type="submit" class="pure-button pure-button-primary" name="previous"
value="previous"/>
+ <input
type="submit" class="pure-button pure-button-primary" name="next" value="next"/>
+ </div>
+ </div>
+ <div>
+ <div id="user_messages">
+
<h3>Meldinger</h3>
+ <xsl:choose>
+
<xsl:when test="//warningMsgs!=''">
+
<xsl:for-each select="warningMsgs">
+
<dl>
+
+
</dl>
+
</xsl:for-each>
+
</xsl:when>
+ </xsl:choose>
+ </div>
+ </div>
</fieldset>
</div>
</div>
- <div class="proplist-col">
- <input type="submit" class="pure-button
pure-button-primary" name="save_contract" value="{lang_save}"
onMouseout="window.status='';return true;"/>
- <input type="button" class="pure-button
pure-button-primary" name="contract_back" value="{lang_cancel}"
onMouseout="window.status='';return true;"
onClick="document.cancel_form.submit();"/>
- </div>
</form>
- <xsl:variable name="cancel_url">
- <xsl:value-of select="cancel_url"/>
- </xsl:variable>
- <form name="cancel_form" id="cancel_form"
action="{$cancel_url}" method="post"></form>
</div>
</xsl:template>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13850],
Nelson Guerra <=