fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13772]


From: Nelson Guerra
Subject: [Fmsystem-commits] [13772]
Date: Tue, 25 Aug 2015 00:12:17 +0000

Revision: 13772
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13772
Author:   nelson224
Date:     2015-08-25 00:12:17 +0000 (Tue, 25 Aug 2015)
Log Message:
-----------


Modified Paths:
--------------
    branches/dev-syncromind/rental/templates/base/contract.xsl

Modified: branches/dev-syncromind/rental/templates/base/contract.xsl
===================================================================
--- branches/dev-syncromind/rental/templates/base/contract.xsl  2015-08-25 
00:11:58 UTC (rev 13771)
+++ branches/dev-syncromind/rental/templates/base/contract.xsl  2015-08-25 
00:12:17 UTC (rev 13772)
@@ -1,6 +1,13 @@
   <!-- $Id: contract.xsl 12604 2015-01-15 17:06:11Z nelson224 $ -->
 <xsl:template match="data">
-       <xsl:apply-templates select="edit" />
+       <xsl:choose>
+               <xsl:when test="edit">
+                       <xsl:apply-templates select="edit"/>
+               </xsl:when>
+               <xsl:when test="view">
+                       <xsl:apply-templates select="view"/>
+               </xsl:when>
+       </xsl:choose>
        <xsl:call-template name="jquery_phpgw_i18n"/>
 </xsl:template>
 
@@ -9,11 +16,11 @@
                <div class="toolbar">
                        <div class="pure-g">
                                <div class="pure-u-1-3">
-                                       <div><xsl:value-of 
select="lang_contract_number"/>:<xsl:value-of 
select="value_contract_number"/></div>
-                                       <div><xsl:value-of 
select="lang_parties"/>:<xsl:value-of select="value_parties"/></div>
-                                       <div><xsl:value-of 
select="lang_last_updated"/>:<xsl:value-of select="value_last_updated"/></div>
-                                       <div><xsl:value-of 
select="lang_name"/>:<xsl:value-of select="value_name"/></div>
-                                       <div><xsl:value-of 
select="lang_composite"/>:<xsl:value-of select="value_composite"/></div>
+                                       <div><xsl:value-of 
select="php:function('lang', 'contract_number')"/>:<xsl:value-of 
select="value_contract_number"/></div>
+                                       <div><xsl:value-of 
select="php:function('lang', 'parties')"/>:<xsl:value-of 
select="value_parties"/></div>
+                                       <div><xsl:value-of 
select="php:function('lang', 'last_updated')"/>:<xsl:value-of 
select="value_last_updated"/></div>
+                                       <div><xsl:value-of 
select="php:function('lang', 'name')"/>:<xsl:value-of 
select="value_name"/></div>
+                                       <div><xsl:value-of 
select="php:function('lang', 'composite')"/>:<xsl:value-of 
select="value_composite"/></div>
                                </div>
                                <div class="pure-u-2-3">
                                        <xsl:for-each select="datatable_def">
@@ -60,7 +67,7 @@
                                                <input type="hidden" name="id" 
id="contract_id" value="{contract_id}"/>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_field_of_responsibility"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'field_of_responsibility')"/>
                                                        </label>
                                                        <xsl:choose>
                                                                <xsl:when 
test="contract_id = 0 or contract_id = ''">
@@ -71,7 +78,7 @@
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_contract_type"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'contract_type')"/>
                                                        </label>
                                                        <select 
id="contract_type" name="contract_type">
                                                                
<xsl:apply-templates select="list_contract_type/options"/>
@@ -79,7 +86,7 @@
                                                </div>  
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_executive_officer"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'executive_officer')"/>
                                                        </label>
                                                        <select 
id="executive_officer" name="executive_officer">
                                                                
<xsl:apply-templates select="list_executive_officer/options"/>
@@ -87,31 +94,31 @@
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_date_start"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'date_start')"/>
                                                        </label>
                                                        <input type="text" 
id="date_start" name="date_start" size="10" value="{value_date_start}" 
readonly="readonly"/>
                                                </div>  
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_date_end"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'date_emd')"/>
                                                        </label>
                                                        <input type="text" 
id="date_end" name="date_end" size="10" value="{value_date_end}" 
readonly="readonly"/>
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_due_date"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'due_date')"/>
                                                        </label>
                                                        <input type="text" 
id="due_date" name="due_date" size="10" value="{value_due_date}" 
readonly="readonly"/>
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_invoice_header"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'invoice_header')"/>
                                                        </label>
                                                        <input type="text" 
name="invoice_header" value="{value_invoice_header}"></input>
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_billing_term"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'billing_term')"/>
                                                        </label>
                                                        <select 
id="billing_term" name="billing_term">
                                                                
<xsl:apply-templates select="list_billing_term/options"/>
@@ -119,25 +126,25 @@
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_billing_start"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'billing_start')"/>
                                                        </label>
                                                        <input type="text" 
id="billing_start_date" name="billing_start_date" size="10" 
value="{value_billing_start}" readonly="readonly"/>
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_billing_end"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'billing_end')"/>
                                                        </label>
                                                        <input type="text" 
id="billing_end_date" name="billing_end_date" size="10" 
value="{value_billing_end}" readonly="readonly"/>
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_reference"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'reference')"/>
                                                        </label>
                                                        <input type="text" 
name="reference" value="{value_reference}"></input>
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_responsibility"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'responsibility')"/>
                                                        </label>
                                                        <xsl:choose>
                                                                <xsl:when 
test="list_responsibility">
@@ -154,31 +161,31 @@
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_service"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'service')"/>
                                                        </label>
                                                        <input type="text" 
name="service_id" value="{value_service}"></input>
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_account_in"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'account_in')"/>
                                                        </label>
                                                        <input type="text" 
name="account_in" value="{value_account_in}"></input>
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_account_out"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'account_out')"/>
                                                        </label>
                                                        <input type="text" 
name="account_out" value="{value_account_out}"></input>
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_project_id"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'project_id')"/>
                                                        </label>
                                                        <input type="text" 
name="project_id" value="{value_project_id}"></input>
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_security"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'security')"/>
                                                        </label>
                                                        <select 
id="security_type" name="security_type">
                                                                
<xsl:apply-templates select="list_security/options"/>
@@ -186,13 +193,13 @@
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_security_amount"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'security_amount')"/>
                                                        </label>
                                                        <xsl:value-of 
select="security_amount_simbol"/> <input type="text" name="security_amount" 
value="{value_security_amount}"></input>
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_rented_area"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'rented_area')"/>
                                                        </label>
                                                        <input type="text" 
name="rented_area" value="{value_rented_area}"></input> <xsl:value-of 
select="rented_area_simbol"/>
                                                </div>
@@ -200,7 +207,7 @@
                                                        <xsl:when 
test="is_adjustable">                         
                                                                <div 
class="pure-control-group">
                                                                        <label>
-                                                                               
<xsl:value-of select="lang_adjustable"/>
+                                                                               
<xsl:value-of select="php:function('lang', 'adjustable')"/>
                                                                        </label>
                                                                        <input 
type="checkbox" name="adjustable" id="adjustable">
                                                                                
<xsl:if test="is_adjustable = 1">
@@ -212,7 +219,7 @@
                                                </xsl:choose>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_adjustment_interval"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'adjustment_interval')"/>
                                                        </label>
                                                        <select 
id="adjustment_interval" name="adjustment_interval">
                                                                
<xsl:apply-templates select="list_adjustment_interval/options"/>
@@ -220,7 +227,7 @@
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_adjustment_share"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'adjustment_share')"/>
                                                        </label>
                                                        <select 
id="adjustment_share" name="adjustment_share">
                                                                
<xsl:apply-templates select="list_adjustment_share/options"/>
@@ -228,13 +235,13 @@
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_adjustment_year"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'adjustment_year')"/>
                                                        </label>
                                                        <xsl:value-of 
select="value_adjustment_year"/>
                                                </div>
                                                <div class="pure-control-group">
                                                        <label>
-                                                               <xsl:value-of 
select="lang_comment"/>
+                                                               <xsl:value-of 
select="php:function('lang', 'comment')"/>
                                                        </label>
                                                        <textarea cols="40" 
rows="10" name="comment" id="comment"><xsl:value-of 
select="value_comment"/></textarea>
                                                </div>
@@ -242,7 +249,7 @@
                                                        <xsl:when 
test="value_publish_comment">
                                                                <div 
class="pure-control-group">
                                                                        <label>
-                                                                               
<xsl:value-of select="lang_publish_comment"/>
+                                                                               
<xsl:value-of select="php:function('lang', 'publish_comment')"/>
                                                                        </label>
                                                                        <input 
type="checkbox" name="publish_comment" id="publish_comment">
                                                                                
<xsl:if test="value_publish_comment = 1">
@@ -584,6 +591,373 @@
        </div>
 </xsl:template>
 
+
+<!-- view  -->
+<xsl:template xmlns:php="http://php.net/xsl"; match="view">
+
+       <xsl:call-template name="top-toolbar" />
+       <div>
+               <xsl:variable name="form_action">
+                       <xsl:value-of select="form_action"/>
+               </xsl:variable>
+
+               <form id="form" name="form" method="post" 
action="{$form_action}" class="pure-form pure-form-aligned">
+                       <dl>
+                               <xsl:choose>
+                                       <xsl:when test="msgbox_data != ''">
+                                               <dt>
+                                                       <xsl:call-template 
name="msgbox"/>
+                                               </dt>
+                                       </xsl:when>
+                               </xsl:choose>
+                       </dl>
+                       <div id="tab-content">
+                               <xsl:value-of disable-output-escaping="yes" 
select="tabs"/>
+                               <div id="details">
+                                       <fieldset>
+                                               <input type="hidden" name="id" 
id="contract_id" value="{contract_id}"/>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'field_of_responsibility')"/>
+                                                       </label>
+                                                       <xsl:choose>
+                                                               <xsl:when 
test="contract_id = 0 or contract_id = ''">
+                                                                       <input 
type="hidden" name="location_id" id="location_id" value="{location_id}"/>
+                                                               </xsl:when>
+                                                       </xsl:choose>
+                                                       <xsl:value-of 
select="value_field_of_responsibility"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'contract_type')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_contract_type"/>
+                                               </div>  
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'executive_officer')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_executive_officer"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'date_start')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_date_start"/>
+                                               </div>  
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'date_emd')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_date_end"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'due_date')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_due_date"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'invoice_header')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_invoice_header"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'billing_term')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_billing_term"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'billing_start')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_billing_start"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'billing_end')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_billing_end"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'reference')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_reference"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'responsibility')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_responsibility_id"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'service')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_service"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'account_in')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_account_in"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'account_out')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_account_out"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'project_id')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_project_id"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'security')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_security_type"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'security_amount')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="security_amount_simbol"/> <xsl:text> </xsl:text> <xsl:value-of 
select="value_security_amount_view"/>
+                                               </div>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'rented_area')"/>
+                                                       </label>                
                                        
+                                                       <xsl:value-of 
select="value_rented_area"/> <xsl:text> </xsl:text> <xsl:value-of 
select="rented_area_simbol"/>
+                                               </div>
+                                               <xsl:choose>
+                                                       <xsl:when 
test="is_adjustable = 1">                             
+                                                               <div 
class="pure-control-group">
+                                                                       <label>
+                                                                               
<xsl:value-of select="php:function('lang', 'adjustable')"/>
+                                                                       </label>
+                                                                       <input 
type="checkbox" name="adjustable" id="adjustable" disabled="disabled">
+                                                                               
        <xsl:attribute name="checked" value="checked"/>
+                                                                       </input>
+                                                               </div>
+                                                               <div 
class="pure-control-group">
+                                                                       <label>
+                                                                               
<xsl:value-of select="php:function('lang', 'adjustment_interval')"/>
+                                                                       
</label> 
+                                                                       
<xsl:value-of select="value_current_interval"/>
+                                                               </div>
+                                                               <div 
class="pure-control-group">
+                                                                       <label>
+                                                                               
<xsl:value-of select="php:function('lang', 'adjustment_share')"/>
+                                                                       </label>
+                                                                       
<xsl:value-of select="value_current_share"/>
+                                                               </div>
+                                                               <div 
class="pure-control-group">
+                                                                       <label>
+                                                                               
<xsl:value-of select="php:function('lang', 'adjustment_year')"/>
+                                                                       </label>
+                                                                       
<xsl:value-of select="value_adjustment_year"/>
+                                                               </div>
+                                                       </xsl:when>             
                        
+                                                       <xsl:otherwise>
+                                                               <div 
class="pure-control-group">
+                                                                       
<label></label>
+                                                                       
<xsl:value-of select="php:function('lang', 'contract_not_adjustable')"/>
+                                                               </div>
+                                                       </xsl:otherwise>
+                                               </xsl:choose>
+                                               <div class="pure-control-group">
+                                                       <label>
+                                                               <xsl:value-of 
select="php:function('lang', 'comment')"/>
+                                                       </label>
+                                                       <xsl:value-of 
select="value_comment"/>
+                                               </div>
+                                               <xsl:choose>
+                                                       <xsl:when 
test="value_publish_comment">
+                                                               <div 
class="pure-control-group">
+                                                                       <label>
+                                                                               
<xsl:value-of select="php:function('lang', 'publish_comment')"/>
+                                                                       </label>
+                                                                       <input 
type="checkbox" name="publish_comment" id="publish_comment" disabled="disabled">
+                                                                               
<xsl:if test="value_publish_comment = 1">
+                                                                               
        <xsl:attribute name="checked" value="checked"/>
+                                                                               
</xsl:if>
+                                                                       </input>
+                                                               </div>
+                                                       </xsl:when>
+                                               </xsl:choose>
+                                       </fieldset>
+                               </div>
+                                               <div id="composite">
+                                                       <fieldset>
+                                                               <script 
type="text/javascript">
+                                                                       
link_included_composites = <xsl:value-of select="link_included_composites"/>;
+                                                                       
link_not_included_composites = <xsl:value-of 
select="link_not_included_composites"/>;
+                                                               </script>       
                                                
+                                                               <div>
+                                                                       
<xsl:for-each select="datatable_def">
+                                                                               
<xsl:if test="container = 'datatable-container_1'">
+                                                                               
        <xsl:call-template name="table_setup">
+                                                                               
                <xsl:with-param name="container" select ='container'/>
+                                                                               
                <xsl:with-param name="requestUrl" select ='requestUrl' />
+                                                                               
                <xsl:with-param name="ColumnDefs" select ='ColumnDefs' />
+                                                                               
                <xsl:with-param name="tabletools" select ='tabletools' />
+                                                                               
                <xsl:with-param name="data" select ='data' />
+                                                                               
                <xsl:with-param name="config" select ='config' />
+                                                                               
        </xsl:call-template>
+                                                                               
</xsl:if>
+                                                                       
</xsl:for-each>
+                                                               </div>          
                                        
+                                                       </fieldset>
+                                               </div>
+                                               <div id="parties">
+                                                       <fieldset>
+                                                               <script 
type="text/javascript">
+                                                                       
link_included_parties = <xsl:value-of select="link_included_parties"/>;
+                                                                       
link_not_included_parties = <xsl:value-of select="link_not_included_parties"/>;
+                                                               </script>       
+                                                               <div>
+                                                                       
<xsl:for-each select="datatable_def">
+                                                                               
<xsl:if test="container = 'datatable-container_3'">
+                                                                               
        <xsl:call-template name="table_setup">
+                                                                               
                <xsl:with-param name="container" select ='container'/>
+                                                                               
                <xsl:with-param name="requestUrl" select ='requestUrl' />
+                                                                               
                <xsl:with-param name="ColumnDefs" select ='ColumnDefs' />
+                                                                               
                <xsl:with-param name="tabletools" select ='tabletools' />
+                                                                               
                <xsl:with-param name="data" select ='data' />
+                                                                               
                <xsl:with-param name="config" select ='config' />
+                                                                               
        </xsl:call-template>
+                                                                               
</xsl:if>
+                                                                       
</xsl:for-each>
+                                                               </div>          
        
+                                                       </fieldset>
+                                               </div>
+                                               <div id="price">
+                                                       <fieldset>
+                                                               <script 
type="text/javascript">
+                                                                       
link_included_price_items = <xsl:value-of select="link_included_price_items"/>;
+                                                                       
link_not_included_price_items = <xsl:value-of 
select="link_not_included_price_items"/>;
+                                                               </script>
+                                                               <div>
+                                                                       
<xsl:for-each select="datatable_def">
+                                                                               
<xsl:if test="container = 'datatable-container_5'">
+                                                                               
        <xsl:call-template name="table_setup">
+                                                                               
                <xsl:with-param name="container" select ='container'/>
+                                                                               
                <xsl:with-param name="requestUrl" select ='requestUrl' />
+                                                                               
                <xsl:with-param name="ColumnDefs" select ='ColumnDefs' />
+                                                                               
                <xsl:with-param name="tabletools" select ='tabletools' />
+                                                                               
                <xsl:with-param name="data" select ='data' />
+                                                                               
                <xsl:with-param name="config" select ='config' />
+                                                                               
        </xsl:call-template>
+                                                                               
</xsl:if>
+                                                                       
</xsl:for-each>
+                                                               </div>
+                                                       </fieldset>
+                                               </div>
+                                               <div id="invoice">
+                                                       <fieldset>
+                                                               <div 
class="pure-control-group">
+                                                                       <label>
+                                                                               
<xsl:value-of select="php:function('lang', 'filters')"/>
+                                                                       </label>
+                                                                       <div 
class="pure-custom">
+                                                                               
<div class="pure-control-group">                                                
                                
+                                                                               
        <label><xsl:value-of select="php:function('lang', 'invoice')"/></label>
+                                                                               
        <select id="invoice_id" name="invoice_id">
+                                                                               
                <xsl:apply-templates select="list_invoices/options"/>
+                                                                               
        </select>                                                               
                
+                                                                               
</div>
+                                                                       </div>
+                                                               </div>
+                                                               <div>
+                                                                       
<xsl:for-each select="datatable_def">
+                                                                               
<xsl:if test="container = 'datatable-container_7'">
+                                                                               
        <xsl:call-template name="table_setup">
+                                                                               
                <xsl:with-param name="container" select ='container'/>
+                                                                               
                <xsl:with-param name="requestUrl" select ='requestUrl' />
+                                                                               
                <xsl:with-param name="ColumnDefs" select ='ColumnDefs' />
+                                                                               
                <xsl:with-param name="tabletools" select ='tabletools' />
+                                                                               
                <xsl:with-param name="data" select ='data' />
+                                                                               
                <xsl:with-param name="config" select ='config' />
+                                                                               
        </xsl:call-template>
+                                                                               
</xsl:if>
+                                                                       
</xsl:for-each>
+                                                               </div>          
                                                                                
                
+                                                       </fieldset>
+                                               </div>
+                                               <div id="documents">
+                                                       <fieldset>
+                                                               <div 
class="pure-control-group">
+                                                                       <label>
+                                                                               
<xsl:value-of select="php:function('lang', 'search_options')"/>
+                                                                       </label>
+                                                                       <div 
class="pure-custom">
+                                                                               
<div class="pure-control-group">
+                                                                               
        <label><xsl:value-of select="php:function('lang', 
'search_for')"/></label>
+                                                                               
        <input id="document_query" type="text" name="document_query" />
+                                                                               
        <label><xsl:value-of select="php:function('lang', 
'search_where')"/></label>
+                                                                               
        <select id="document_search_option" name="document_search_option">
+                                                                               
                <xsl:apply-templates select="list_document_search/options"/>
+                                                                               
        </select>
+                                                                               
        <label><xsl:value-of select="php:function('lang', 
'document_type')"/></label>
+                                                                               
        <select id="document_type_search" name="document_type_search">
+                                                                               
                <xsl:apply-templates select="list_document_types/options"/>
+                                                                               
        </select>                                                               
                                                                        
+                                                                               
</div>
+                                                                       </div>
+                                                               </div>          
                                                                                
                
+                                                               <div>
+                                                                       
<xsl:for-each select="datatable_def">
+                                                                               
<xsl:if test="container = 'datatable-container_8'">
+                                                                               
        <xsl:call-template name="table_setup">
+                                                                               
                <xsl:with-param name="container" select ='container'/>
+                                                                               
                <xsl:with-param name="requestUrl" select ='requestUrl' />
+                                                                               
                <xsl:with-param name="ColumnDefs" select ='ColumnDefs' />
+                                                                               
                <xsl:with-param name="tabletools" select ='tabletools' />
+                                                                               
                <xsl:with-param name="data" select ='data' />
+                                                                               
                <xsl:with-param name="config" select ='config' />
+                                                                               
        </xsl:call-template>
+                                                                               
</xsl:if>
+                                                                       
</xsl:for-each>
+                                                               </div>          
                                                
+                                                       </fieldset>
+                                               </div>
+                                               <div id="notifications">
+                                                       <fieldset>
+                                                               <div>
+                                                                       
<xsl:for-each select="datatable_def">
+                                                                               
<xsl:if test="container = 'datatable-container_9'">
+                                                                               
        <xsl:call-template name="table_setup">
+                                                                               
                <xsl:with-param name="container" select ='container'/>
+                                                                               
                <xsl:with-param name="requestUrl" select ='requestUrl' />
+                                                                               
                <xsl:with-param name="ColumnDefs" select ='ColumnDefs' />
+                                                                               
                <xsl:with-param name="tabletools" select ='tabletools' />
+                                                                               
                <xsl:with-param name="data" select ='data' />
+                                                                               
                <xsl:with-param name="config" select ='config' />
+                                                                               
        </xsl:call-template>
+                                                                               
</xsl:if>
+                                                                       
</xsl:for-each>
+                                                               </div>
+                                                       </fieldset>
+                                               </div>
+                       </div>
+                       <div class="proplist-col">
+                               <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>
+
+
 <xsl:template match="options">
        <option value="{id}">
                <xsl:if test="selected != 0">




reply via email to

[Prev in Thread] Current Thread [Next in Thread]