Invoiceplane: Difference between revisions
imported>Onny mNo edit summary |
imported>Onny Add note on enable electronic invoicing |
||
Line 59: | Line 59: | ||
Replace the cron key value with the one given in the Invoiceplane administration web interface. | Replace the cron key value with the one given in the Invoiceplane administration web interface. | ||
=== Electronic invoice === | |||
To enable electronic invoicing using the [http://zugferd.org standard ZUGFeRD], we can hardcode the activation into the InvoicePlane source code. Otherwise it has to be manually enabled in the settings menu of the web app. | |||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | |||
nixpkgs = { | |||
overlays = [ | |||
(self: super: { | |||
invoiceplane = super.invoiceplane.overrideAttrs (oldAttrs: rec { | |||
postFixup = '' | |||
sed -i 's/\$include_zugferd = .*/$include_zugferd = true;/g' $out/application/helpers/pdf_helper.php | |||
''; | |||
}); | |||
}) | |||
]; | |||
}; | |||
</nowiki>}} | |||
Enabling this via <code>settings</code> option is [https://github.com/InvoicePlane/InvoicePlane/issues/999 not yet possible]. | |||
== Maintenance == | == Maintenance == |