phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: property/templates/default invoice.xsl,1.1,1.2


From: Sigurd Nes <address@hidden>
Subject: [Phpgroupware-cvs] CVS: property/templates/default invoice.xsl,1.1,1.2
Date: Tue, 24 Dec 2002 18:22:32 -0500

Update of /cvsroot/phpgroupware/property/templates/default
In directory subversions:/tmp/cvs-serv5295/templates/default

Modified Files:
        invoice.xsl 
Log Message:
no message

Index: invoice.xsl
===================================================================
RCS file: /cvsroot/phpgroupware/property/templates/default/invoice.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** invoice.xsl 21 Dec 2002 12:49:09 -0000      1.1
--- invoice.xsl 24 Dec 2002 23:22:29 -0000      1.2
***************
*** 22,25 ****
--- 22,105 ----
        
        <xsl:template match="debug">
+ 
+               <table width="50%" cellpadding="2" cellspacing="2" 
align="center">
+ 
+                       <tr>
+                               <td>
+                                       <xsl:value-of select="lang_bilagsnr"/>
+                               </td>
+                               <td>
+                                       <xsl:value-of select="bilagsnr"/>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <xsl:value-of 
select="lang_spvend_code"/>
+                               </td>
+                               <td>
+                                       <xsl:value-of select="spvend_code"/>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <xsl:value-of 
select="lang_fakturadato"/>
+                               </td>
+                               <td>
+                                       <xsl:value-of select="fakturadato"/>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <xsl:value-of 
select="lang_forfallsdato"/>
+                               </td>
+                               <td>
+                                       <xsl:value-of select="forfallsdato"/>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <xsl:value-of select="lang_janitor"/>
+                               </td>
+                               <td>
+                                       <xsl:value-of select="janitor"/>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <xsl:value-of select="lang_supervisor"/>
+                               </td>
+                               <td>
+                                       <xsl:value-of select="saksbehandlerid"/>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <xsl:value-of 
select="lang_budget_responsible"/>
+                               </td>
+                               <td>
+                                       <xsl:value-of 
select="budsjettansvarligid"/>
+                               </td>
+                       </tr>
+                       <tr>
+                               <td>
+                                       <xsl:value-of select="lang_sum"/>
+                               </td>
+                               <td>
+                                       <xsl:value-of select="sum"/>
+                               </td>
+                       </tr>
+ 
+ 
+               </table>
+               <table width="100%" cellpadding="2" cellspacing="2" 
align="center">
+                       <tr class="th">
+                               <xsl:apply-templates select="table_header"/>
+                       </tr>
+ 
+                               <xsl:apply-templates select="values"/>
+                               <xsl:apply-templates select="table_add"/>
+               </table>
+               
+ 
        </xsl:template>
  
***************
*** 55,84 ****
  
        <xsl:template match="table_header">
!                       <tr class="th">
!                               <td class="th_text" width="10%" align="right">
!                                       <xsl:value-of 
select="lang_property_id"/>
!                               </td>
!                               <td class="th_text" width="10%" align="right">
!                                       <xsl:value-of 
select="lang_building_id"/>
!                               </td>
!                               <td class="th_text" width="40%">
!                                       <xsl:value-of select="lang_name"/>
!                               </td>
!                               <td class="th_text" width="20%" align="center">
!                                       <xsl:value-of 
select="lang_time_created"/>
!                               </td>
!                               <td class="th_text" width="10%" align="center">
!                                       <xsl:value-of select="lang_owner"/>
!                               </td>
!                               <td class="th_text" width="5%" align="center">
!                                       <xsl:value-of select="lang_view"/>
!                               </td>
!                               <td class="th_text" width="5%" align="center">
!                                       <xsl:value-of select="lang_edit"/>
!                               </td>
!                               <td class="th_text" width="5%" align="center">
!                                       <xsl:value-of select="lang_delete"/>
!                               </td>
!                       </tr>
        </xsl:template>
  
--- 135,143 ----
  
        <xsl:template match="table_header">
!               
!               <td class="th_text" width="10%" align="right">
!                       <xsl:value-of select="header"/>
!               </td>
!               
        </xsl:template>
  
***************
*** 103,131 ****
  
                                <td align="right">
!                                       <xsl:value-of select="property_id"/>
                                </td>
                                <td align="right">
!                                       <xsl:value-of select="building_id"/>
                                </td>
                                <td>
!                                       <xsl:value-of select="first"/>
                                </td>
                                <td align="center">
!                                       <xsl:value-of select="date"/>
                                </td>
                                <td align="center">
!                                       <xsl:value-of select="owner"/>
                                </td>
                                <td align="center">
!                                       <xsl:variable 
name="link_view"><xsl:value-of select="link_view"/></xsl:variable>
!                                       <a href="{$link_view}" 
onMouseover="window.status='{$lang_view_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="text_view"/></a>
                                </td>
                                <td align="center">
!                                       <xsl:variable 
name="link_edit"><xsl:value-of select="link_edit"/></xsl:variable>
!                                       <a href="{$link_edit}" 
onMouseover="window.status='{$lang_edit_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="text_edit"/></a>
                                </td>
                                <td align="center">
!                                       <xsl:variable 
name="link_delete"><xsl:value-of select="link_delete"/></xsl:variable>
!                                       <a href="{$link_delete}" 
onMouseover="window.status='{$lang_delete_statustext}';return true;" 
onMouseout="window.status='';return true;"><xsl:value-of 
select="text_delete"/></a>
                                </td>
                        </tr>
--- 162,196 ----
  
                                <td align="right">
!                                       <xsl:value-of select="field_0"/>
                                </td>
                                <td align="right">
!                                       <xsl:value-of select="field_1"/>
                                </td>
                                <td>
!                                       <xsl:value-of select="field_2"/>
!                               </td>
!                               <td align="center">
!                                       <xsl:value-of select="field_3"/>
!                               </td>
!                               <td align="center">
!                                       <xsl:value-of select="field_4"/>
!                               </td>
!                               <td align="center">
!                                       <xsl:value-of select="field_5"/>
                                </td>
                                <td align="center">
!                                       <xsl:value-of select="field_6"/>
                                </td>
                                <td align="center">
!                                       <xsl:value-of select="field_7"/>
                                </td>
                                <td align="center">
!                                       <xsl:value-of select="field_8"/>
                                </td>
                                <td align="center">
!                                       <xsl:value-of select="field_9"/>
                                </td>
                                <td align="center">
!                                       <xsl:value-of select="field_10"/>
                                </td>
                        </tr>
***************
*** 147,150 ****
--- 212,228 ----
                                        </form>
                                </td>
+                               <td height="50">
+                                       <xsl:variable 
name="cancel_action"><xsl:value-of select="cancel_action"/></xsl:variable>
+                                       <xsl:variable 
name="lang_cancel"><xsl:value-of select="lang_cancel"/></xsl:variable>
+                                       <form method="post" 
action="{$cancel_action}">
+                                               <input type="submit" 
name="cancel" value="{$lang_cancel}" onMouseout="window.status='';return true;">
+                                                       <xsl:attribute 
name="onMouseover">
+                                                               
<xsl:text>window.status='</xsl:text>
+                                                                       
<xsl:value-of select="lang_cancel_statustext"/>
+                                                               <xsl:text>'; 
return true;</xsl:text>
+                                                       </xsl:attribute>
+                                               </input>
+                                       </form>
+                               </td>
                        </tr>
        </xsl:template>
***************
*** 326,331 ****
  <!-- import -->
  
- 
        <xsl:template match="import">
                <xsl:call-template name="app_header"/>
                <table cellpadding="2" cellspacing="2" width="100%" 
align="center">
--- 404,423 ----
  <!-- import -->
  
        <xsl:template match="import">
+ 
+               <script language="JavaScript">
+                       self.name="first_Window";
+                       function abook()
+                       {
+                               
Window1=window.open('{addressbook_link}',"Search","width=800,height=700,toolbar=no,scrollbars=yes,resizable=yes");
+                       }               
+               </script>
+ 
+               <script language="JavaScript">
+                       var calDateFormat="<xsl:value-of select="dateformat"/>";
+               </script>
+               <xsl:variable name="calendar_source"><xsl:value-of 
select="calendar_source"/></xsl:variable>
+               <SCRIPT LANGUAGE="JavaScript" SRC="{$calendar_source}"></SCRIPT>
+ 
                <xsl:call-template name="app_header"/>
                <table cellpadding="2" cellspacing="2" width="100%" 
align="center">
***************
*** 343,347 ****
                        </xsl:for-each>
                        <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
!                       <form method="post" action="{$form_action}">
  
  
--- 435,439 ----
                        </xsl:for-each>
                        <xsl:variable name="form_action"><xsl:value-of 
select="form_action"/></xsl:variable>
!                       <form method="post" name="form" action="{$form_action}">
  
  
***************
*** 420,423 ****
--- 512,544 ----
                        </tr>
  
+                       <tr>
+                               <td valign="top">
+                                       <xsl:variable 
name="lang_vendor"><xsl:value-of select="lang_vendor"/></xsl:variable>
+                                       <input type="button" 
name="values[convert]" value="{$lang_vendor}" onClick="abook();" 
onMouseout="window.status='';return true;">
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_import_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+                               </td>
+                               <td>
+                                       <input type="text" name="values[abid]" 
value="{value_abid}" size="4"  onMouseout="window.status='';return true;">
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_abid_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+                                       <input type="text" 
name="values[vendor_name]" value="{value_vendor_name}" size="20"  
onMouseout="window.status='';return true;">
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_vendor_name_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+ 
+                               </td>
+                       </tr>
  
                        <tr>
***************
*** 462,474 ****
                                </td>
                        </tr>
                        <tr>
                                <td valign="top">
                                        <xsl:value-of 
select="lang_invoice_date"/>
                                </td>
                                <td>
!                                       <xsl:call-template name="select_date"/>
                                </td>
                        </tr>
  
                        <tr>
                                <td valign="top">
--- 583,667 ----
                                </td>
                        </tr>
+ 
                        <tr>
+ 
                                <td valign="top">
                                        <xsl:value-of 
select="lang_invoice_date"/>
                                </td>
                                <td>
!                                       <input type="text" name="invoice_date" 
value="{value_invoice_date}" size="12" readonly="readonly" 
onMouseout="window.status='';return true;" >
!                                               <xsl:attribute 
name="onMouseover">
!                                                       
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_invoice_date_statustext"/>
!                                                       <xsl:text>'; return 
true;</xsl:text>
!                                               </xsl:attribute>
!                                       </input>
! 
!                                       <xsl:variable 
name="calendar_gif"><xsl:value-of select="calendar_gif"/></xsl:variable>
!                                       <xsl:variable 
name="link_calendar_invoice_date"><xsl:value-of 
select="link_calendar_invoice_date"/></xsl:variable>
! 
!                                       <a href="javascript:doNothing()" 
onClick="{$link_calendar_invoice_date}">
!                                       <img src="{$calendar_gif}" border="2" 
width="12" height="12"/></a>
!                                       <xsl:value-of 
select="lang_popup_calendar"/>
! 
!                               
!                               </td>
!                       </tr>
!                       <tr>
!                               <td valign="top">
!                                       <xsl:value-of select="lang_no_of_days"/>
!                               </td>
!                               <td>
!                                       <input type="text" 
name="values[num_days]" value="{value_num_days}" size="4"  
onMouseout="window.status='';return true;">
!                                               <xsl:attribute 
name="onMouseover">
!                                                       
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_num_days_statustext"/>
!                                                       <xsl:text>'; return 
true;</xsl:text>
!                                               </xsl:attribute>
!                                       </input>
! 
!                               </td>
!                       </tr>
! 
!                       <tr>
! 
!                               <td valign="top">
!                                       <xsl:value-of 
select="lang_payment_date"/>
!                               </td>
!                               <td>
!                                       <input type="text" name="payment_date" 
value="{value_payment_date}" size="12" readonly="readonly" 
onMouseout="window.status='';return true;" >
!                                               <xsl:attribute 
name="onMouseover">
!                                                       
<xsl:text>window.status='</xsl:text>
!                                                               <xsl:value-of 
select="lang_payment_date_statustext"/>
!                                                       <xsl:text>'; return 
true;</xsl:text>
!                                               </xsl:attribute>
!                                       </input>
! 
!                                       <xsl:variable 
name="calendar_gif"><xsl:value-of select="calendar_gif"/></xsl:variable>
!                                       <xsl:variable 
name="link_calendar_payment_date"><xsl:value-of 
select="link_calendar_payment_date"/></xsl:variable>
! 
!                                       <a href="javascript:doNothing()" 
onClick="{$link_calendar_payment_date}">
!                                       <img src="{$calendar_gif}" border="2" 
width="12" height="12"/></a>
!                                       <xsl:value-of 
select="lang_popup_calendar"/>
! 
!                               
                                </td>
                        </tr>
  
+                       <tr>
+                               <td valign="top">
+                                       <xsl:value-of select="lang_file"/>
+                               </td>
+                               <td>
+                                       <input type="file" name="tsvfile" 
onMouseout="window.status='';return true;">
+                                               <xsl:attribute 
name="onMouseover">
+                                                       
<xsl:text>window.status='</xsl:text>
+                                                               <xsl:value-of 
select="lang_file_statustext"/>
+                                                       <xsl:text>'; return 
true;</xsl:text>
+                                               </xsl:attribute>
+                                       </input>
+ 
+                               </td>
+                       </tr>
                        <tr>
                                <td valign="top">




reply via email to

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