moved AR Fibu Merge Button from Address to Invoice
This commit is contained in:
@@ -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();
|
||||
|
||||
*/
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user