27 lines
710 B
HTML
27 lines
710 B
HTML
<vn-crud-model
|
|
vn-id="model"
|
|
url="/agency/api/ZoneCalendars"
|
|
fields="['zoneFk', 'delivered']"
|
|
link="{zoneFk: $ctrl.$stateParams.id}"
|
|
data="$ctrl.data"
|
|
primary-key="zoneFk"
|
|
auto-load="true">
|
|
</vn-crud-model>
|
|
<vn-calendar
|
|
pad-small
|
|
vn-id="stMonth"
|
|
events="$ctrl.events"
|
|
skip="2"
|
|
on-selection="$ctrl.onSelection(stMonth, values)"
|
|
on-move-next="$ctrl.onMoveNext(ndMonth)"
|
|
on-move-previous="$ctrl.onMovePrevious(ndMonth)">
|
|
</vn-calendar>
|
|
<vn-calendar
|
|
pad-small
|
|
vn-id="ndMonth"
|
|
events="$ctrl.events"
|
|
skip="2"
|
|
display-controls="false"
|
|
on-selection="$ctrl.onSelection(ndMonth, values)"
|
|
default-date="$ctrl.ndMonthDate">
|
|
</vn-calendar> |