|
@@ -1,3 +1,14 @@
|
|
|
+<script>
|
|
|
+ window.noteReasons = [];
|
|
|
+ @if(count($note->reasons))
|
|
|
+ @foreach($note->reasons as $reason)
|
|
|
+ window.noteReasons.push({
|
|
|
+ code: '{{$reason->code}}',
|
|
|
+ description: '{{$reason->description}}'
|
|
|
+ });
|
|
|
+ @endforeach
|
|
|
+ @endif
|
|
|
+</script>
|
|
|
<div moe wide class="">
|
|
|
<a class="" href="" show start><i class="fa fa-edit"></i></a>
|
|
|
<form url="/api/note/update-note-reasons">
|
|
@@ -101,4 +112,4 @@
|
|
|
}
|
|
|
|
|
|
})();
|
|
|
-</script>
|
|
|
+</script>
|