From 8025657842bf69ee0b701d0b401cc482155e92d3 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Tue, 20 Aug 2024 17:48:29 +0200 Subject: [PATCH] moved AR Fibu Merge Button from Address to Invoice --- Layout/default/Address/Index.php | 1 - Layout/default/Invoice/Index.php | 10 ++++++++++ scripts/contract/delete-unused-billingaddresses.php | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Layout/default/Address/Index.php b/Layout/default/Address/Index.php index 198f4168c..87a66a6a3 100644 --- a/Layout/default/Address/Index.php +++ b/Layout/default/Address/Index.php @@ -38,7 +38,6 @@
- AR-Merge / Fibu Konten Import Inkrementellen BMD-Export starten Letzter Export: diff --git a/Layout/default/Invoice/Index.php b/Layout/default/Invoice/Index.php index aef0d47cb..9e991b1ad 100644 --- a/Layout/default/Invoice/Index.php +++ b/Layout/default/Invoice/Index.php @@ -25,6 +25,16 @@ $pagination_entity_name = "Rechnungen";
+ +
diff --git a/scripts/contract/delete-unused-billingaddresses.php b/scripts/contract/delete-unused-billingaddresses.php index e908b4053..a2817d7d9 100644 --- a/scripts/contract/delete-unused-billingaddresses.php +++ b/scripts/contract/delete-unused-billingaddresses.php @@ -60,7 +60,7 @@ foreach(AddressLinkModel::search(["type" => "billing"]) as $link) { echo $bill_id." has fibu account number\n"; } - echo "deleting ".$bill_id."\n"; + /*echo "deleting ".$bill_id."\n"; $bill->delete(); foreach(AddresstypeModel::search(["address_id" => $bill_id]) as $type) { echo "deleting AddressType bill_id $bill_id\n"; @@ -68,7 +68,7 @@ foreach(AddressLinkModel::search(["type" => "billing"]) as $link) { } echo "deleting link ".$link->origin_address_id." -> ".$link->address_id."\n"; $link->delete(); - + */ }