2
0
mirror of https://github.com/frappe/books.git synced 2024-12-22 19:09:01 +00:00

feat: display time in templates

This commit is contained in:
AbleKSaju 2024-12-20 09:11:26 +05:30
parent 4bad6f12b0
commit 0190f34aab
3 changed files with 15 additions and 3 deletions

View File

@ -31,7 +31,11 @@
<!-- Invoice Details -->
<section class="w-1/3">
<h2 class="text-2xl font-semibold">{{ doc.name }}</h2>
<div class="flex gap-2">
<p class="py-2 text-base">{{ doc.date }}</p>
<p class="py-2 text-base">{{ doc?.time }}</p>
</div>
</section>
<!-- Party Details -->

View File

@ -31,7 +31,11 @@
</h3>
<div class="w-2/3 text-gray-800">
<p class="font-semibold">{{ doc.name }}</p>
<div class="flex gap-2">
<p>{{ doc.date }}</p>
<p>{{doc?.time }}</p>
</div>
</div>
</section>

View File

@ -13,7 +13,11 @@
<p class="font-semibold text-xl" :style="{ color: print.color }">
{{ print.companyName }}
</p>
<div class="flex gap-2">
<p>{{ doc.date }}</p>
<p>{{ doc?.time }}</p>
</div>
</div>
</section>