Skip to content

Commit

Permalink
fix(ux): space between label
Browse files Browse the repository at this point in the history
- use PrintSettings.companyName instead
  • Loading branch information
18alantom committed Jun 2, 2023
1 parent 3628957 commit 8f0f154
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/utils/printTemplates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ const printSettingsFields = [
'email',
'phone',
'address',
'companyName',
];
const accountingSettingsFields = ['companyName', 'gstin'];
const accountingSettingsFields = ['gstin'];

export async function getPrintTemplatePropValues(
doc: Doc
Expand Down
2 changes: 1 addition & 1 deletion templates/Minimal.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<!-- Right Section -->
<section class="text-right">
<p class="font-semibold text-xl" :style="{ color: print.color }">
{{ doc.entryType }}
{{ doc.entryLabel }}
</p>
<p>{{ doc.name }}</p>
</section>
Expand Down

0 comments on commit 8f0f154

Please sign in to comment.