FIX_OFFLINE INVOICE LISTING PAGE

This commit is contained in:
Srinivas-Saravanan 2024-12-26 19:16:10 +05:30
parent 23c9887dc9
commit 9b5417f786
3 changed files with 14 additions and 8 deletions

View File

@ -1063,7 +1063,7 @@ public function create_or_update_subscription($invoice_id,$invoice_status, $msg_
// Load view with data // Load view with data
// $html = view('invoice_print_preview_template', ['data' => $data, 'invoiceItems' => $invoiceItems,'business'=>$business, 'invoice_type' => $invoice_type, 'invoiceTerms' => $data, 'status' => $status]); // $html = view('invoice_print_preview_template', ['data' => $data, 'invoiceItems' => $invoiceItems,'business'=>$business, 'invoice_type' => $invoice_type, 'invoiceTerms' => $data, 'status' => $status]);
$html = view('invoice_pdf_template', ['data' => $data, 'invoiceItems' => $invoiceItems, 'invoice_type' => $invoice_type,'business' => $business, 'invoiceTerms' => $data, 'status' => $status]); $html = view('invoice_pdf_template', ['data' => $data, 'invoiceItems' => $invoiceItems, 'invoice_type' => $invoice_type,'business' => $business, 'invoiceTerms' => $data, 'status' => $status]);
// dd($html);die;
// Return HTML content // Return HTML content
echo $html; echo $html;
} }

View File

@ -171,7 +171,8 @@
color: #989898; color: #989898;
} }
table td{
#pdfPreviewModal table td{
font-size: 10px; font-size: 10px;
} }
table h4{ table h4{
@ -186,19 +187,24 @@
margin-bottom: 0rem; margin-bottom: 0rem;
} }
@media screen { @media screen {
body, .business-address-container,table.addresses-table, table.footer-table, table td, table.invoice-related-table th, table.invoice-related-table td { .business-address-container,table.addresses-table, table.footer-table, table td, table.invoice-related-table th, table.invoice-related-table td {
font-family:'Calibri'; font-family:'Calibri';
} }
} }
@media print { @media print {
body{ body{
font-family:"Calibri"; font-family:'Times-Roman', sans-serif;
font-size: 10px;
} }
table td, table.invoice-related-table th, table.invoice-related-table td{ table td, table.invoice-related-table th, table.invoice-related-table td{
font-family:"Calibri"; font-family:'Times-Roman', sans-serif;
font-size: 10px;
} }
.terms-container{
margin-top:30px!important;
}
} }
</style> </style>
@ -416,7 +422,7 @@
</td> </td>
<td colspan="6" style="width: 50%; vertical-align: bottom;"> <td colspan="6" style="width: 50%; vertical-align: bottom;">
<div class="terms-container"> <div class="terms-container" style="margin-top:30px;">
<center> <center>
<!-- <img src="<?php //echo base_url('public/uploads/default_sign_sm.png'); ?>" alt="Authorized Signatory" class="Authorized-Signatory"> --> <!-- <img src="<?php //echo base_url('public/uploads/default_sign_sm.png'); ?>" alt="Authorized Signatory" class="Authorized-Signatory"> -->
<!-- <div align = "right"> --> <!-- <div align = "right"> -->

View File

@ -19,7 +19,7 @@
margin: 1.75rem auto; margin: 1.75rem auto;
} }
#pdfPreviewModal .modal-body { #pdfPreviewModal .modal-body {
font-family: 'Times New Roman', Times, serif; font-family: 'Calibri', Times, serif;
font-size: 8pt; font-size: 8pt;
} }
.table-responsive{ .table-responsive{