salix/modules/worker/front/department/basic-data/index.html

91 lines
2.8 KiB
HTML
Raw Normal View History

2023-05-15 08:43:06 +00:00
<vn-watcher
vn-id="watcher"
2023-05-16 09:41:42 +00:00
data="$ctrl.department"
2023-05-15 08:43:06 +00:00
form="form"
url="Departments">
2023-05-15 08:43:06 +00:00
</vn-watcher>
2023-05-30 08:13:49 +00:00
<form name="form" ng-submit="watcher.submit()" class="vn-w-md">
2023-05-15 08:43:06 +00:00
<vn-card class="vn-pa-lg">
<vn-vertical>
<vn-horizontal>
<vn-textfield
vn-one
label="Name"
2023-05-16 09:41:42 +00:00
ng-model="$ctrl.department.name"
2023-05-15 08:43:06 +00:00
rule>
</vn-textfield>
<vn-textfield
vn-one
2023-05-16 09:41:42 +00:00
label="Code"
ng-model="$ctrl.department.code"
2023-05-15 08:43:06 +00:00
rule>
</vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
2023-05-16 09:41:42 +00:00
label="Chat"
ng-model="$ctrl.department.chatName"
2023-05-15 08:43:06 +00:00
rule>
</vn-textfield>
<vn-textfield
vn-one
2023-05-16 09:41:42 +00:00
label="Email"
ng-model="$ctrl.department.notificationEmail"
2023-05-15 08:43:06 +00:00
rule>
</vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
2023-05-16 09:41:42 +00:00
label="Boss department"
ng-model="$ctrl.department.workerFk">
</vn-textfield>
<vn-textfield
vn-one
label="Self-consumption customer"
ng-model="$ctrl.department.clientFk">
2023-05-15 08:43:06 +00:00
</vn-textfield>
</vn-horizontal>
2023-05-26 11:25:49 +00:00
<vn-horizontal>
2023-05-16 09:41:42 +00:00
<vn-check
label="Telecommutes"
ng-model="$ctrl.department.isTeleworking">
</vn-check>
<vn-check
label="Notificate errors"
ng-model="$ctrl.department.hasToMistake">
</vn-check>
<vn-check
label="Is on production"
ng-model="$ctrl.department.isProduction">
</vn-check>
2023-05-26 11:25:49 +00:00
</vn-horizontal>
<vn-one>
2023-05-16 09:41:42 +00:00
<vn-check
label="Fill in days without physical check-ins"
ng-model="$ctrl.department.hasToRefill">
</vn-check>
2023-05-26 11:25:49 +00:00
</vn-one>
<vn-one>
2023-05-16 09:41:42 +00:00
<vn-check
label="Send check-ins by email"
ng-model="$ctrl.department.hasToSendMail">
</vn-check>
2023-05-26 11:25:49 +00:00
</vn-one>
2023-05-15 08:43:06 +00:00
</vn-vertical>
</vn-card>
<vn-button-bar>
<vn-submit
disabled="!watcher.dataChanged()"
label="Save">
</vn-submit>
<vn-button
class="cancel"
label="Undo changes"
disabled="!watcher.dataChanged()"
ng-click="watcher.loadOriginalData()">
</vn-button>
</vn-button-bar>
</form>