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