feat: stylw tweaks of discount and adjustment in estimates, invoices, and receipts

This commit is contained in:
Ahmed Bouhuolia
2024-12-02 18:57:42 +02:00
parent 5b75fa9286
commit 154ade9647
3 changed files with 14 additions and 22 deletions

View File

@@ -167,10 +167,8 @@ export function EstimateSendMailReceipt({
borderBottomWidth={'1px'} borderBottomWidth={'1px'}
borderBottomColor={'#D9D9D9'} borderBottomColor={'#D9D9D9'}
> >
<x.span fontWeight={500}>{discountLabel}</x.span> <x.span>{discountLabel}</x.span>
<x.span fontWeight={600} fontSize={15}> <x.span fontSize={15}>{discount}</x.span>
{discount}
</x.span>
</Group> </Group>
)} )}
@@ -182,10 +180,8 @@ export function EstimateSendMailReceipt({
borderBottomWidth={'1px'} borderBottomWidth={'1px'}
borderBottomColor={'#D9D9D9'} borderBottomColor={'#D9D9D9'}
> >
<x.span fontWeight={500}>{adjsutmentLabel}</x.span> <x.span>{adjsutmentLabel}</x.span>
<x.span fontWeight={600} fontSize={15}> <x.span fontSize={15}>{adjustment}</x.span>
{adjustment}
</x.span>
</Group> </Group>
)} )}

View File

@@ -212,10 +212,10 @@ export function InvoiceMailReceipt({
position="apart" position="apart"
borderBottomStyle="solid" borderBottomStyle="solid"
borderBottomWidth="1px" borderBottomWidth="1px"
borderColor="#000" borderColor="#D9D9D9"
> >
<x.span fontWeight={500}>{discountLabel}</x.span> <x.span>{discountLabel}</x.span>
<x.span fontWeight={600} fontSize={15}> <x.span fontSize={15}>
{discount} {discount}
</x.span> </x.span>
</Group> </Group>
@@ -228,10 +228,10 @@ export function InvoiceMailReceipt({
position="apart" position="apart"
borderBottomStyle="solid" borderBottomStyle="solid"
borderBottomWidth="1px" borderBottomWidth="1px"
borderColor="#000" borderColor="#D9D9D9"
> >
<x.span fontWeight={500}>{adjustmentLabel}</x.span> <x.span>{adjustmentLabel}</x.span>
<x.span fontWeight={600} fontSize={15}> <x.span fontSize={15}>
{adjustment} {adjustment}
</x.span> </x.span>
</Group> </Group>

View File

@@ -133,10 +133,8 @@ export function ReceiptSendMailReceipt({
borderBottomWidth={'1px'} borderBottomWidth={'1px'}
borderBottomColor={'#D9D9D9'} borderBottomColor={'#D9D9D9'}
> >
<x.span fontWeight={500}>{discountLabel}</x.span> <x.span>{discountLabel}</x.span>
<x.span fontWeight={600} fontSize={15}> <x.span fontSize={15}>{discount}</x.span>
{discount}
</x.span>
</Group> </Group>
)} )}
@@ -148,10 +146,8 @@ export function ReceiptSendMailReceipt({
borderBottomWidth={'1px'} borderBottomWidth={'1px'}
borderBottomColor={'#D9D9D9'} borderBottomColor={'#D9D9D9'}
> >
<x.span fontWeight={500}>{adjustmentLabel}</x.span> <x.span>{adjustmentLabel}</x.span>
<x.span fontWeight={600} fontSize={15}> <x.span fontSize={15}>{adjustment}</x.span>
{adjustment}
</x.span>
</Group> </Group>
)} )}