container-export-pdf-ui add export button and call api

This commit is contained in:
azumiru
2022-03-11 20:54:49 +08:00
parent ced07a293e
commit 2fb12d3a7c
@@ -51,6 +51,9 @@
<p class="no-margin bold" :class="{'text-success': item.status === 3, 'text-complete': item.status !== 3}">{{item.status === 3 ? 'Un-stuffed' : 'In Progress'}}</p>
</div>
<div class="col-auto">
<a class="btn btn-default no-border" :href="route('container.packaging_list.export', item.id)">
<i class="fa fa-file-pdf-o"></i>
</a>
<div class="btn btn-default no-border" @click="expanded = !expanded">
<i class="fa" :class="{'fa-angle-down': !expanded, 'fa-angle-up': expanded}" ></i>
</div>