From eacbac2376d66759a66c312ab567543550e9b49f Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Thu, 21 Aug 2025 15:24:32 +0200 Subject: [PATCH] update footer page numbering --- flake.nix | 13 +++++++++---- heinrichmalerbetrieb.php | 4 ++++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index e5a67db..bcbe309 100644 --- a/flake.nix +++ b/flake.nix @@ -1,9 +1,7 @@ { description = "Invoiceplane invoice template development shell"; - inputs.nixpkgs.url = "git+https://github.com/NixOS/nixpkgs?shallow=1&ref=nixpkgs-unstable"; - #inputs.nixpkgs.url = "nixpkgs/nixos-24.11"; - #inputs.nixpkgs.url = "github:onny/nixpkgs/invoiceplane-https"; + inputs.nixpkgs.url = "nixpkgs/nixos-25.05"; outputs = { self, nixpkgs, ... }@inputs: let @@ -22,6 +20,13 @@ overlays = [ (self: super: { invoiceplane = super.invoiceplane.overrideAttrs (oldAttrs: rec { + # Add new page numbers support + patches = oldAttrs.patches ++ [ + (fetchpatch { + url = "https://github.com/InvoicePlane/InvoicePlane/commit/bfcf81266399575e90b83612d59b457d76e3538e.patch"; + hash = ""; + }) + ]; installPhase = oldAttrs.installPhase + '' rm -r $out/application/views/invoice_templates/pdf ln -sf /var/lib/invoiceplane/localhost/pdf $out/application/views/invoice_templates/pdf @@ -45,7 +50,7 @@ }; }; - system.stateVersion = "24.11"; + system.stateVersion = "25.05"; services.getty.autologinUser = "root"; documentation = { info.enable = false; diff --git a/heinrichmalerbetrieb.php b/heinrichmalerbetrieb.php index f0db37c..8fca80b 100755 --- a/heinrichmalerbetrieb.php +++ b/heinrichmalerbetrieb.php @@ -311,5 +311,9 @@ Bitte überweisen Sie den Rechnungsbetrag unter Angabe der Rechnungsnummer auf unser Geschäftskonto. Vielen Dank.

Wir weisen Sie darauf hin, dass Sie nach § 14b Abs. 1 S. 5 UStG verpflichtet sind, diese Rechnung zwei Jahre lang aufzubewahren.

+ + + +