moved AR Fibu Merge Button from Address to Invoice

This commit is contained in:
Frank Schubert
2024-08-20 17:48:29 +02:00
parent 89ec2a3397
commit 8025657842
3 changed files with 12 additions and 3 deletions

View File

@@ -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();
*/
}