Finished Building -> termination

This commit is contained in:
Frank Schubert
2021-07-29 17:07:35 +02:00
parent 4ff09b319b
commit 112df1a958
7 changed files with 162 additions and 687 deletions

View File

@@ -26,7 +26,7 @@ class Building extends mfBaseModel {
$code = "$cc-$zip-";
foreach($rnd as $r) {
$code .= dechex($r);
$code .= str_pad(dechex($r), 2, "0", STR_PAD_LEFT);
}
if(BuildingModel::search(['code' => $code])) {