salix/modules/agency/front/calendar/index.html

21 lines
682 B
HTML
Raw Normal View History

2019-01-21 10:45:53 +00:00
<vn-crud-model
2018-09-24 12:51:27 +00:00
vn-id="model"
2019-01-21 10:45:53 +00:00
url="/agency/api/ZoneCalendars"
fields="['zoneFk', 'delivered']"
link="{zoneFk: $ctrl.$stateParams.id}"
data="$ctrl.data"
2019-02-01 16:11:14 +00:00
primary-key="zoneFk"
auto-load="true">
2019-01-21 10:45:53 +00:00
</vn-crud-model>
<vn-calendar pad-small vn-id="stMonth" skip="2"
data="$ctrl.events"
2019-02-01 16:11:14 +00:00
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" skip="2"
data="$ctrl.events"
2019-02-01 16:11:14 +00:00
display-controls="false"
on-selection="$ctrl.onSelection(ndMonth, values)"
default-date="$ctrl.ndMonthDate">
</vn-calendar>