]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/order/tabs/basic_data.html
AM::_get_warehouse: schnelleres Query
[mfinanz.git] / templates / webpages / order / tabs / basic_data.html
index ad41537f9b914cbd150aa341f4ec7abac2879546..11a71fb620866ce4c2772e3933d59dd94488d067 100644 (file)
             </thead>
 
             [%- FOREACH item = SELF.order.items_sorted %]
             </thead>
 
             [%- FOREACH item = SELF.order.items_sorted %]
-              [%- PROCESS order/tabs/_row.html ITEM=item ID=item.id ALL_PRICE_FACTORS=SELF.all_price_factors %]
+              [%- PROCESS order/tabs/_row.html ITEM=item ID=item.id TYPE=SELF.type ALL_PRICE_FACTORS=SELF.all_price_factors %]
             [%- END %]
 
           </table>
             [%- END %]
 
           </table>
                                       title_key = 'description',
                                       style = 'width: 250px') %]</td>
                 </tr>
                                       title_key = 'description',
                                       style = 'width: 250px') %]</td>
                 </tr>
+                [%- IF SELF.type == "sales_order" %]
+                <tr>
+                  <th align="right">[%- 'Periodic Invoices' | T8 %]</th>
+                  <td>[% L.button_tag('kivi.Order.show_periodic_invoices_config_dialog()', LxERP.t8('Configure')) %]
+                    (<span id='periodic_invoices_status'>[%- SELF.periodic_invoices_status -%]</span>)
+                    <a href="doc/html/ch03.html#features.periodic-invoices.variables" target="_blank">?</a>
+                  </td>
+                </tr>
+                [%- END %]
               </table>
             </td>
 
               </table>
             </td>