pdf font name and size : ps
This commit is contained in:
parent
758b959a29
commit
6bc2eb487f
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -5,7 +5,7 @@ class SettingsModel extends Model
|
|||||||
{
|
{
|
||||||
protected $table = 'settings';
|
protected $table = 'settings';
|
||||||
protected $primaryKey = 'setting_id';
|
protected $primaryKey = 'setting_id';
|
||||||
protected $allowedFields = ['business_id','setting_id','site_name','site_color','site_short_name','site_email','mobile','country','favicon','site_info','logo','terms_service','footer_about','about_info','copyright','pagination_limit','mail_protocol','mail_title','mail_host','mail_port','mail_encryption','mail_username','mail_password','currency','created_on','created_by','updated_on','updated_by','isactive'];
|
protected $allowedFields = ['business_id','setting_id','site_name','site_color','site_short_name','site_email','mobile','country','favicon','site_info','logo','terms_service','footer_about','about_info','copyright','pagination_limit','currency','created_on','created_by','updated_on','updated_by','isactive'];
|
||||||
|
|
||||||
public function saveData($data, $id = null)
|
public function saveData($data, $id = null)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
/* Apply font family and size */
|
/* Apply font family and size */
|
||||||
body {
|
body {
|
||||||
font-family: 'Times New Roman', Times, serif;
|
font-family: 'Times New Roman', Times, serif;
|
||||||
font-size: 12px;
|
font-size: 8pt;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#pdfPreviewModal .modal-dialog {
|
#pdfPreviewModal .modal-dialog {
|
||||||
@ -23,8 +23,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#pdfPreviewModal .modal-body {
|
#pdfPreviewModal .modal-body {
|
||||||
font-family: 'Times New Roman', Times, sans-serif;
|
font-family: 'Times New Roman', Times, serif !important;
|
||||||
font-size: 12px;
|
font-size: 8pt !important;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-responsive {
|
.table-responsive {
|
||||||
@ -148,7 +149,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="modal-body" style="font-family: Times New Roman, Times, sans-serif !important; font-size: 12px !important;">
|
<div class="modal-body" style="font-family: 'Times New Roman', Times, serif !important; font-size: 8pt !important;">
|
||||||
|
|
||||||
<!-- PDF content will be loaded here -->
|
<!-- PDF content will be loaded here -->
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -12,15 +12,16 @@
|
|||||||
|
|
||||||
font-family: 'Times New Roman', Times, sans-serif;
|
font-family: 'Times New Roman', Times, sans-serif;
|
||||||
|
|
||||||
font-size: 12px;
|
font-size: 8pt;
|
||||||
/* Change this value to your desired font size */
|
/* Change this value to your desired font size */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Style for the main table with border */
|
/* Style for the main table with border */
|
||||||
table.main-table {
|
table.main-table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-collapse: collapse;
|
margin-bottom: 1rem;
|
||||||
border: -0.5px solid black;
|
/* border-collapse: collapse; */
|
||||||
|
/* border: -0.5px solid black; */
|
||||||
/* Add a border around the entire invoice */
|
/* Add a border around the entire invoice */
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -28,17 +29,15 @@
|
|||||||
table.main-table td {
|
table.main-table td {
|
||||||
border: none;
|
border: none;
|
||||||
/* Remove borders from all cells inside the main table */
|
/* Remove borders from all cells inside the main table */
|
||||||
padding: 8px;
|
/* padding: 8px; */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Style for the table containing business details */
|
/* Style for the table containing business details */
|
||||||
table.business-details-table {
|
table.business-details-table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-collapse: collapse;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
table.business-details-table td {
|
table.business-details-table td {
|
||||||
padding: 8px;
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -62,11 +61,13 @@
|
|||||||
/* Style for the table containing invoice info */
|
/* Style for the table containing invoice info */
|
||||||
table.invoice-info-table {
|
table.invoice-info-table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.invoice-info-table th,
|
table.invoice-info-table th,
|
||||||
table.invoice-info-table td {
|
table.invoice-info-table td {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
padding: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Style for the addresses table */
|
/* Style for the addresses table */
|
||||||
@ -181,7 +182,7 @@
|
|||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td style="padding: 8px!important">
|
||||||
<table class="invoice-info-table">
|
<table class="invoice-info-table">
|
||||||
<?php foreach ($data as $value) : ?>
|
<?php foreach ($data as $value) : ?>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user