mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
force user to use datepicker in close period modal
This commit is contained in:
parent
79c3cfaa27
commit
8e895e6b6a
@ -268,3 +268,7 @@ table.scrollable-3-cols {
|
||||
.period-info-title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
input.form-control.as-writable {
|
||||
background-color: white;
|
||||
}
|
||||
|
@ -29,7 +29,7 @@
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
||||
<input type="text"
|
||||
class="form-control"
|
||||
class="form-control as-writable"
|
||||
name="end_at"
|
||||
ng-model="period.end_at"
|
||||
uib-datepicker-popup="{{datePicker.format}}"
|
||||
@ -40,7 +40,8 @@
|
||||
init-date="period.end_at"
|
||||
placeholder="{{datePicker.format}}"
|
||||
ng-click="toggleDatePicker($event)"
|
||||
required/>
|
||||
required
|
||||
readonly/>
|
||||
</div>
|
||||
<span class="help-block" ng-show="closePeriodForm.end_at.$dirty && closePeriodForm.end_at.$error.required" translate>{{ 'invoices.end_date_is_required' }}</span>
|
||||
<span class="help-block error" ng-show="errors.end_at">{{ errors.end_at[0] }}</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user