Merge branch 'master' of github.com:kivitendo/kivitendo-erp
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 30 Mar 2015 12:56:44 +0000 (14:56 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 30 Mar 2015 12:56:44 +0000 (14:56 +0200)
sql/Pg-upgrade2/remove_obsolete_trigger.sql [new file with mode: 0644]
templates/print/RB/letter.tex
templates/print/Standard/letter.tex
templates/webpages/letter/edit.html

diff --git a/sql/Pg-upgrade2/remove_obsolete_trigger.sql b/sql/Pg-upgrade2/remove_obsolete_trigger.sql
new file mode 100644 (file)
index 0000000..db80238
--- /dev/null
@@ -0,0 +1,10 @@
+-- @tag: remove_obsolete_trigger
+-- @description: Entfernt veraltete Trigger check_inventory
+-- @depends: release_3_2_0
+-- @encoding: utf-8
+
+-- drop triggers
+DROP TRIGGER IF EXISTS check_inventory           ON oe;
+
+-- drop functions
+DROP FUNCTION IF EXISTS check_inventory();
index 1645464..67a2642 100644 (file)
 
 \begin{minipage}{14cm}
 
-  <%rcv_name%>
+  <%name%>
 
-  <%rcv_contact_formal%>
+  <%contact_formal%>
 
-  <%rcv_countrycode%> <%rcv_zipcode%> <%rcv_city%>
+  <%countrycode%> <%zipcode%> <%city%>
 
-  <%rcv_country%>
+  <%country%>
 
 \end{minipage}
 \hfill
 
 \begin{minipage}{14cm}
 
+\textbf{<%reference%>}
+
+\vspace{1cm}
+
+
 \textbf{<%subject%>}
 
 \vspace{1cm}
index 1645464..67a2642 100644 (file)
 
 \begin{minipage}{14cm}
 
-  <%rcv_name%>
+  <%name%>
 
-  <%rcv_contact_formal%>
+  <%contact_formal%>
 
-  <%rcv_countrycode%> <%rcv_zipcode%> <%rcv_city%>
+  <%countrycode%> <%zipcode%> <%city%>
 
-  <%rcv_country%>
+  <%country%>
 
 \end{minipage}
 \hfill
 
 \begin{minipage}{14cm}
 
+\textbf{<%reference%>}
+
+\vspace{1cm}
+
+
 \textbf{<%subject%>}
 
 \vspace{1cm}
index fa6a8a0..39aa737 100644 (file)
              force_textbox = limit_exceeded_all_customer
              onChange      = "document.getElementById('update_button').click();" -%]
 [%- IF letter.customer_id %]
-        <input type="button" value="[% 'Details (one letter abbreviation)' | $T8 %]" onclick="edit_vc_window([% letter.customer_id | html %], 'customer')">
+        <input type="button" value="[% 'Details (one letter abbreviation)' | $T8 %]" onclick="show_vc_details('customer')">
 [%- END %]
         <input type='hidden' name='letter.oldcustomer' value='[% letter.oldcustomer | html %]'>
         <input type='hidden' name='letter.customer_id' value='[% letter.customer_id | html %]'>
+        <input type='hidden' name='customer_id' value='[% customer_id | html %]'>
 [%- UNLESS myconfig_vclimit < ALL_CUSTOMERS.size %]
         <input type="hidden" name="letter.select[% vc %]" value="1">
 [%- END %]
        Calendar.setup({ inputField : "date", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "date_button" });
      //-->
     </script>
-
+    <script type="text/javascript" src="js/show_vc_details.js"></script>
 </body>