Skip to content

Commit ba4c321

Browse files
committed
Hide the info tab when creating a new client.
1 parent 00b142b commit ba4c321

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

interface/web/client/client_edit.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ function onShowNew() {
7070
}
7171
}
7272

73+
// Hide the info tab when creating a new client.
74+
unset($app->tform->formDef["tabs"]['info']);
75+
$app->tform->formDef["tab_default"] = "address";
76+
7377
parent::onShowNew();
7478
}
7579

0 commit comments

Comments
 (0)