Kostenstellenbasierte Finanzdokumente Vorlagen

Im Zuge der verstärkten Nutzung von Kostenstellen wurde das Templating System umgestellt so dass es jetzt möglich ist auch Kostenstellenabhängige Templates für Finanzdokumente zu hinterlegen.

Hierbei ist die Logik angepasst wie folgt:

  1. If cost center is provided, look first if we have a template for this cost center
  2. Use Default Template For the cost_type_id taken from the company this is used for
  3. Use Default template of the invoice if invoice_id is provided (this is useful in im_invoice_after_create callbacks if you want to update the invoice_template there).
  4. Default template for cost_type_id taken from the internal (for customers) or freelance_internal (for providers) company.
  5. Default template for parent cost_type_id according to im_categories_hierarchy table (e.g. if you have invoice_correction cost_type which is an invoice cost_type) use the associated parent cost type (first actual company, then internal/freelance_internal as per 2.)

Ferner ist es möglich über Kundenspezifische Anpassungen zum Beispiel die Kostenstelle des Nutzers welcher das Finanzdokument anlegt zu nehmen (im Multi Agentur Umfeld).

Datenschutzerklärung | ]project-open[ | ImpressumKontakt
Icons made by SimpleIcon and Freepik from www.flaticon.com is licensed by CC BY 3.0