1 <md-dialog class="inboundroute-dialog" aria-label="New InboundRoute">
2 <form name="inboundrouteFormApp" class="md-inline-form" novalidate>
3 <md-toolbar class="md-accent md-hue-2">
5 class="md-toolbar-tools"
7 layout-align="space-between center"
9 <span class="title">{{ vm.title | translate }}</span>
10 <md-button class="md-icon-button" ng-click="vm.closeDialog()">
12 md-font-icon="icon-close"
13 aria-label="Close dialog"
19 <md-dialog-content ms-scroll>
20 <div class="error-list">
22 ng-repeat="error in vm.errors"
25 layout-align="space-between center"
28 <span class="message">{{error.message}}</span>
29 <span class="type">({{error.type}})</span>
31 <md-button class="md-icon-button">
33 md-font-icon="icon-alert-box"
34 aria-label="alert error"
40 <md-input-container class="md-block">
41 <label translate="VOICE.HANGUP_CAUSE">Hangup_Cause</label>
44 ng-model="vm.hangup.appdata"
47 ng-disabled="!vm.crudPermissions.canEdit"
49 <md-option ng-value="'1'">
50 {{ 'VOICE.HANGUPCAUSE_1' | translate }}
53 <md-option ng-value="'16'">
54 {{ 'VOICE.HANGUPCAUSE_16' | translate }}
57 <md-option ng-value="'17'">
58 {{ 'VOICE.HANGUPCAUSE_17' | translate }}
61 <md-option ng-value="'18'">
62 {{ 'VOICE.HANGUPCAUSE_18' | translate }}
65 <md-option ng-value="'21'">
66 {{ 'VOICE.HANGUPCAUSE_21' | translate }}
69 <md-option ng-value="'22'">
70 {{ 'VOICE.HANGUPCAUSE_22' | translate }}
73 <md-option ng-value="'27'">
74 {{ 'VOICE.HANGUPCAUSE_27' | translate }}
77 <md-option ng-value="'38'">
78 {{ 'VOICE.HANGUPCAUSE_38' | translate }}
81 <md-option ng-value="'41'">
82 {{ 'VOICE.HANGUPCAUSE_41' | translate }}
86 ng-messages="inboundrouteFormApp['appdata'].$error"
87 ng-show="inboundrouteFormApp['appdata'].$touched"
90 <div ng-message="required">
91 <span translate="VOICE.ERRORS.HANGUP_CAUSE_REQUIRED"
92 >Hangup_Cause field is required</span
98 <div class="error-list">
100 ng-repeat="error in vm.errors"
103 layout-align="space-between center"
106 <span class="message">{{error.message}}</span>
107 <span class="type">({{error.type}})</span>
109 <md-button class="md-icon-button">
111 md-font-icon="icon-alert-box"
112 aria-label="alert error"
120 <md-dialog-actions layout="row" layout-align="space-between center">
123 layout-align="start center"
124 ng-if="vm.crudPermissions.canEdit"
128 ng-click="vm.saveInboundRouteApp()"
129 class="send-button md-accent md-raised"
130 ng-disabled="inboundrouteFormApp.$invalid || inboundrouteFormApp.$pristine"
132 translate="VOICE.SAVE"
133 translate-attr-aria-label="VOICE.SAVE"