[update] revisi struk

This commit is contained in:
dhilanradya 2025-09-09 11:24:13 +07:00
parent 7f4b41b904
commit b9c562d0a2

View File

@ -52,17 +52,16 @@
<!-- Nomor Transaksi --> <!-- Nomor Transaksi -->
<p class="mt-1 text-sm">TRS-XXX-XXX</p> <p class="mt-1 text-sm">TRS-XXX-XXX</p>
<!-- Table Barang --> <table class="w-full border-D mt-0 text-sm table-fixed">
<table class="w-full border-D mt-0 text-sm">
<thead> <thead>
<tr class="border-b border-D"> <tr class="border-b border-D">
<th class="w-32 py-2 border-r border-D">Item</th> <th class="w-[260px] py-2 border-r border-D">Item</th>
<th class="w-32 py-2 border-r border-D">Posisi</th> <th class="w-[70px] border-r border-D">Posisi</th>
<th class="w-20 border-r border-D">Berat</th> <th class="w-[60px] border-r border-D">Berat</th>
<th class="w-20 border-r border-D">Kadar</th> <th class="w-[60px] border-r border-D">Kadar</th>
<th class="w-32 border-r border-D">Harga Satuan</th> <th class="w-[140px] border-r border-D">Harga Satuan</th>
<th class="w-20 border-r border-D">Jumlah</th> <th class="w-[60px] border-r border-D">Jumlah</th>
<th class="w-32">Total Harga</th> <th class="w-[140px]">Total Harga</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -94,25 +93,19 @@
<td>Rp3.000.000</td> <td>Rp3.000.000</td>
</tr> </tr>
<!-- Baris Ongkos + Total -->
<tr class="align-top"> <tr class="align-top">
<td colspan="2" rowspan="2" class="p-2 text-left align-top"> <td colspan="2" rowspan="2" class="p-2 text-left align-top">
<p class="font-semibold">PERHATIAN</p> <p class="font-semibold">PERHATIAN</p>
<ol class="list-decimal ml-4 text-xs space-y-1"> <ol class="list-decimal ml-4 text-xs space-y-1">
<li>Berat barang telah ditimbang dan disaksikan oleh pembeli.</li> <li>Berat barang telah ditimbang dan disaksikan oleh pembeli.</li>
<li> <li>Barang yang dikembalikan menurut harga pasaran dan <br> dipotong ongkos bikin, barang rusak lain harga.</li>
Barang yang dikembalikan menurut harga pasaran dan dipotong <li>Barang yang sudah dibeli berarti sudah diperiksa dan disetujui.</li>
ongkos bikin, barang rusak lain harga. <li>Surat ini harap dibawa pada saat menjual kembali.</li>
</li>
<li>
Barang yang sudah dibeli berarti sudah diperiksa dan
disetujui.
</li>
<li>Surat ini harus dibawa pada saat menjual kembali.</li>
</ol> </ol>
</td> </td>
<td colspan="2" rowspan="2" class="p-2 text-center align-top">
<td colspan="3" rowspan="2" class="p-2 text-center align-top">
<div class="flex flex-col items-center justify-center h-full"> <div class="flex flex-col items-center justify-center h-full">
<p><strong>Sales</strong></p> <p><strong>Sales</strong></p>
<inputSelect <inputSelect
@ -121,13 +114,13 @@
{ value: 'Timothy', label: 'Timothy' }, { value: 'Timothy', label: 'Timothy' },
{ value: 'Iwan', label: 'Iwan' } { value: 'Iwan', label: 'Iwan' }
]" ]"
class="mt-16 text-sm rounded bg-B text-center cursor-pointer !w-[160px]" class="mt-16 text-sm rounded bg-B cursor-pointer !w-[160px] text-center [option]:text-left"
/> />
</div> </div>
</td> </td>
<td colspan="2" class="p-2 text-right text-sm font-semibold align-top border-r">
<td class="p-2 text-right text-sm font-semibold align-top border-r">
<div class="space-y-2"> <div class="space-y-2">
<p>Ongkos bikin</p> <p>Ongkos bikin</p>
<p class="text-red-500 text-xs">diluar harga jual</p> <p class="text-red-500 text-xs">diluar harga jual</p>
@ -135,7 +128,6 @@
</div> </div>
</td> </td>
<td class="p-2 text-sm align-top"> <td class="p-2 text-sm align-top">
<div class="space-y-2"> <div class="space-y-2">
<div class="flex items-center"> <div class="flex items-center">
@ -152,21 +144,27 @@
</td> </td>
</tr> </tr>
<!-- Baris Tombol -->
<tr> <tr>
<td></td>
<td></td>
<td class="p-2 text-center"> <td class="p-2 text-center">
<div class="flex gap-2">
<button class="bg-gray-400 text-white px-6 py-2 rounded w-full"> <button class="bg-gray-400 text-white px-6 py-2 rounded w-full">
Batal Batal
</button> </button>
</td>
<td class="p-2 text-center">
<button class="bg-C text-white px-6 py-2 rounded w-full"> <button class="bg-C text-white px-6 py-2 rounded w-full">
Simpan Simpan
</button> </button>
</div>
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
<!-- Pesan bawah --> <!-- Pesan bawah -->
@ -179,6 +177,8 @@
</div> </div>
</template> </template>
<script setup> <script setup>
import { ref } from 'vue' import { ref } from 'vue'
import logo from '@/../images/logo.png' import logo from '@/../images/logo.png'