WIP Contract 2024-05-06

This commit is contained in:
Frank Schubert
2024-05-07 16:31:01 +02:00
parent 6002876343
commit 4b52599209
4 changed files with 211 additions and 81 deletions

View File

@@ -52,6 +52,11 @@ class AddressModel {
$me = new User();
$me->loadMe();
if($model->phone == null) $model->phone = "";
if($model->fax == null) $model->fax = "";
if($model->mobile == null) $model->mobile = "";
if($model->email == null) $model->email = "";
if (!is_numeric($model->create_by) && !$model->create_by) {
$model->create_by = $me->id;
}