ss
This commit is contained in:
parent
d2d48f8c93
commit
b844160ab3
@ -140,23 +140,20 @@ public function download_details()
|
||||
'orientation' => 'P', // Portrait
|
||||
];
|
||||
|
||||
$configA4 = [
|
||||
$configa4 = [
|
||||
'mode' => 'utf-8',
|
||||
'format' => [101.6 * 2, 152.4 * 4], // 2x4 inches for each label
|
||||
'default_font_size' => 12,
|
||||
'default_font' => 'Arial',
|
||||
'format' => 'A4',
|
||||
'margin_left' => 0,
|
||||
'margin_right' => 0,
|
||||
'margin_top' => 0,
|
||||
'margin_bottom' => 0,
|
||||
'margin_header' => 0,
|
||||
'margin_footer' => 0,
|
||||
'orientation' => 'P', // Portrait
|
||||
];
|
||||
|
||||
|
||||
if($action == 1) $pdf = new Mpdf($config);
|
||||
else $pdf = new Mpdf();
|
||||
else $pdf = new Mpdf($configa4);
|
||||
$customerDetails = [];
|
||||
// Iterate through selected schemes
|
||||
if (!empty($selectedSchemes)) {
|
||||
|
||||
@ -11,12 +11,12 @@
|
||||
}
|
||||
.invoice {
|
||||
width: 48%;
|
||||
height: 150px;
|
||||
height: 277px;
|
||||
margin-left: 2px;
|
||||
float: left;
|
||||
page-break-inside: avoid;
|
||||
padding-right: 2px !important;
|
||||
border: 2px solid #FFFF00;
|
||||
border: 4px solid #FFFF00;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.header {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user