* feat: new file * feat: function api debit * feat: add route debit * feat: new form page * refactor: show menu debit * refactor: add type debit note status * feat: add i18n * feat: add constants * feat: add stores * feat: layout * feat: add function * refactor: change name value * feat: form select quotation * refactor: change name url * refactor: use form debit * refactor: change src import * refactor: move file form debit * refactor: add i18n * feat: add type debit note * refactor: add columns * refactor: bind value columns * refactor: change name Table * refactor: edit type * refactor: bind type debit note * refactor: bind value debit * refactor: chame name function * fix: calculate page * refactor: delete table * refactor: change name get list * refactor: change i18n * refactor: change name value * refactor: bind navigate and trigger delete * refactor: format number deciml * refactor: add i18n * feat: new page * refactor: add color debit * feat: Debit tab #178 * feat: TableRequest * refactor: edit type pay condition * refactor: add i18n btn submit * refactor: use type enum * feat: edit layout product expansion * refactor: bind function * refactor: show code * feat: add input search and select status * feat: paymentform * refactor: edit type * refactor: add manage file and edit end point * feat: add form.ts * refactor: send mode * refactor: edit v-model of due date * feat: submit create debit * fix: status * refactor: handle data not allow * fix: call updateDebitNote in edit mode and simplify payload handling * refactor: hide edit * refactor: handle pay condition only full * refactor: delete pay split * refactor: add query * refactor: handle is debit note * refactor: handle is quotation * refactor: add props hide * refactor: tap payment and receipt * refactor: add i18n * feat: view document * refactor: handle btn view doc * refactor: use my remark --------- Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com> Co-authored-by: nwpptrs <jay02499@gmail.com> Co-authored-by: aif912752 <siripak@chamomind.com>
98 lines
1.8 KiB
Vue
98 lines
1.8 KiB
Vue
<script setup lang="ts">
|
|
defineProps<{
|
|
data?: {
|
|
name: string;
|
|
buyer: string;
|
|
buyDate: string;
|
|
|
|
company: string;
|
|
approver: string;
|
|
approveDate: string;
|
|
};
|
|
}>();
|
|
</script>
|
|
<template>
|
|
<div class="footer-container">
|
|
<div class="footer-top">
|
|
<div>ในนาม {{ data?.name || '-' }}</div>
|
|
<div>ในนาม {{ data?.company || '-' }}</div>
|
|
</div>
|
|
|
|
<img src="/images/jws-stamp.png" alt="${0}" />
|
|
|
|
<div class="footer-bottom">
|
|
<section>
|
|
<div>
|
|
<span class="data-placeholder"></span>
|
|
<span>ผู้สั่งซื้อสินค้า</span>
|
|
</div>
|
|
<div>
|
|
<span class="data-placeholder"></span>
|
|
<span>วันที่</span>
|
|
</div>
|
|
</section>
|
|
<section>
|
|
<div>
|
|
<span class="data-placeholder"></span>
|
|
<span>ผู้อนุมัติ</span>
|
|
</div>
|
|
<div>
|
|
<span class="data-placeholder"></span>
|
|
<span>วันที่</span>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.footer-container {
|
|
display: flex;
|
|
position: relative;
|
|
justify-content: center;
|
|
height: 1.5in;
|
|
}
|
|
|
|
.footer-top {
|
|
position: absolute;
|
|
width: 100;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 1rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
& > * {
|
|
width: 38%;
|
|
}
|
|
}
|
|
.footer-bottom {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
& > * {
|
|
display: flex;
|
|
width: 38%;
|
|
justify-content: space-around;
|
|
|
|
& > * {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
}
|
|
|
|
.data-placeholder {
|
|
display: block;
|
|
min-width: 1.2in;
|
|
border-bottom: 1px dotted black;
|
|
margin-bottom: 2mm;
|
|
}
|
|
</style>
|