salix/modules/client/front/note/index/index.html

32 lines
970 B
HTML
Raw Normal View History

2018-07-16 06:00:04 +00:00
<vn-crud-model
vn-id="model"
url="clientObservations"
filter="$ctrl.filter"
2020-03-17 10:17:50 +00:00
link="{clientFk: $ctrl.$params.id}"
data="notes"
auto-load="true">
2018-07-16 06:00:04 +00:00
</vn-crud-model>
2019-10-02 17:24:42 +00:00
<vn-data-viewer
model="model"
class="vn-w-md">
<vn-card class="vn-pa-md">
2019-10-04 22:44:25 +00:00
<div
2018-07-16 06:00:04 +00:00
ng-repeat="note in notes"
2019-10-04 22:44:25 +00:00
class="note vn-pa-sm border-solid border-radius vn-mb-md">
<vn-horizontal class="vn-mb-sm" style="color: #666">
<vn-one>{{::note.worker.user.nickname}}</vn-one>
<vn-auto>{{::note.created | date:'dd/MM/yyyy HH:mm'}}</vn-auto>
</vn-horizontal>
2018-03-01 22:38:14 +00:00
<vn-horizontal class="text">
2018-07-16 06:00:04 +00:00
{{::note.text}}
</vn-horizontal>
2019-10-01 14:17:57 +00:00
</div>
2018-03-01 22:38:14 +00:00
</vn-card>
2019-10-02 17:24:42 +00:00
</vn-data-viewer>
2018-07-25 13:14:03 +00:00
<a vn-tooltip="New note"
2020-03-17 10:17:50 +00:00
ui-sref="client.card.note.create({id: $ctrl.$params.id})"
2018-07-25 13:14:03 +00:00
vn-bind="+"
fixed-bottom-right>
2018-07-16 06:00:04 +00:00
<vn-float-button icon="add"></vn-float-button>
</a>