Invoice print footer style align
This commit is contained in:
parent
e8c88723c1
commit
7610531b8e
|
|
@ -119,12 +119,6 @@ const TaxInvoice = ({
|
||||||
const parts = dateStr.split(':');
|
const parts = dateStr.split(':');
|
||||||
return parts[0] || dateStr;
|
return parts[0] || dateStr;
|
||||||
}
|
}
|
||||||
console.log(
|
|
||||||
Date1,
|
|
||||||
moment(Date1).format('DD-MMM-YYYY'),
|
|
||||||
'datadatadatadatadatadata'
|
|
||||||
);
|
|
||||||
// Extract data from table2Data - mapping from A4Standard structure
|
|
||||||
const invoiceData = {
|
const invoiceData = {
|
||||||
// Company Details - mapped from A4Standard
|
// Company Details - mapped from A4Standard
|
||||||
companyName: table2Data?.CompName || table2Data?.BrName || '',
|
companyName: table2Data?.CompName || table2Data?.BrName || '',
|
||||||
|
|
@ -251,7 +245,7 @@ const TaxInvoice = ({
|
||||||
? 7
|
? 7
|
||||||
: PageSize == 'A5'
|
: PageSize == 'A5'
|
||||||
? 9
|
? 9
|
||||||
: 8
|
: 7
|
||||||
: isMobile
|
: isMobile
|
||||||
? 10
|
? 10
|
||||||
: PageSize == 'A5'
|
: PageSize == 'A5'
|
||||||
|
|
@ -1368,7 +1362,7 @@ const TaxInvoice = ({
|
||||||
{/* Amount in Words */}
|
{/* Amount in Words */}
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
padding: '8px 10px',
|
padding: '5px 10px',
|
||||||
borderBottom: '1px solid #000',
|
borderBottom: '1px solid #000',
|
||||||
fontSize: '11px',
|
fontSize: '11px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
|
|
@ -1382,7 +1376,7 @@ const TaxInvoice = ({
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div style={{ marginBottom: '3px' }}>
|
<div style={{ marginBottom: '2px' }}>
|
||||||
Amount Chargeable (in words)
|
Amount Chargeable (in words)
|
||||||
</div>
|
</div>
|
||||||
<div style={{ fontWeight: '700', fontSize: '16px' }}>
|
<div style={{ fontWeight: '700', fontSize: '16px' }}>
|
||||||
|
|
@ -2257,9 +2251,7 @@ const TaxInvoice = ({
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
{/* Bank Details and Signature */}
|
{/* Bank Details and Signature */}
|
||||||
<div
|
<div style={{ display: 'flex', minHeight: '100px', width: '100%', marginTop: '-20px' }}>
|
||||||
style={{ display: 'flex', minHeight: '120px', width: '100%' }}
|
|
||||||
>
|
|
||||||
{/* Declaration */}
|
{/* Declaration */}
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
|
@ -2292,7 +2284,6 @@ const TaxInvoice = ({
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Signature Section */}
|
{/* Signature Section */}
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
|
@ -2369,8 +2360,8 @@ const TaxInvoice = ({
|
||||||
style={{
|
style={{
|
||||||
borderTop: '1px solid #000',
|
borderTop: '1px solid #000',
|
||||||
borderLeft: '1px solid #000',
|
borderLeft: '1px solid #000',
|
||||||
width: isMobile ? '100%' : '92%',
|
width: isMobile ? '100%' : '94%',
|
||||||
padding: '15px',
|
padding: '10px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{!estimatePrintHeader && table2Data?.OrderType === 'E' ? (
|
{!estimatePrintHeader && table2Data?.OrderType === 'E' ? (
|
||||||
|
|
@ -2398,7 +2389,7 @@ const TaxInvoice = ({
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
width: '70px',
|
width: '70px',
|
||||||
height: '30px',
|
height: '20px',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue