Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/apotek_ralan/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ public function getCetakLabel($no_rawat, $tipe, $tgl_peresepan){
'margin_bottom' => 2
]);

$url = url(ADMIN./tmp/cetak.etiket.html');
$url = url(ADMIN.'/tmp/cetak.etiket.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($html,\Mpdf\HTMLParserMode::HTML_BODY);
Expand Down Expand Up @@ -578,7 +578,7 @@ public function getCetakEresep($no_rawat, $tipe, $tgl_peresepan, $jam_peresepan)
'margin_bottom' => 2
]);

$url = url(ADMIN./tmp/cetak.eresep.html');
$url = url(ADMIN.'/tmp/cetak.eresep.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($html,\Mpdf\HTMLParserMode::HTML_BODY);
Expand Down
6 changes: 3 additions & 3 deletions plugins/apotek_ranap/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ public function getCetakLabel($no_rawat, $tipe, $tgl_peresepan){
'margin_bottom' => 2
]);

$url = url(ADMIN./tmp/cetak.etiket.html');
$url = url(ADMIN.'/tmp/cetak.etiket.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($html,\Mpdf\HTMLParserMode::HTML_BODY);
Expand Down Expand Up @@ -568,7 +568,7 @@ public function getCetakEresep($no_rawat, $tipe, $tgl_peresepan, $jam_peresepan)
'margin_bottom' => 2
]);

$url = url(ADMIN./tmp/cetak.eresep.html');
$url = url(ADMIN.'/tmp/cetak.eresep.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($html,\Mpdf\HTMLParserMode::HTML_BODY);
Expand Down Expand Up @@ -648,7 +648,7 @@ public function getCetakEresepsss($no_rawat, $tipe, $tgl_peresepan, $jam_peresep
'margin_bottom' => 2
]);

$url = url(ADMIN./tmp/cetak.eresep.html');
$url = url(ADMIN.'/tmp/cetak.eresep.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($html,\Mpdf\HTMLParserMode::HTML_BODY);
Expand Down
2 changes: 1 addition & 1 deletion plugins/igd/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ public function getCetakPdf()
$mpdf->SetHTMLHeader($this->core->setPrintHeader());
$mpdf->SetHTMLFooter($this->core->setPrintFooter());

$url = url(ADMIN./tmp/cetak.igd.html');
$url = url(ADMIN.'/tmp/cetak.igd.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($html,\Mpdf\HTMLParserMode::HTML_BODY);
Expand Down
2 changes: 1 addition & 1 deletion plugins/kasir_rawat_inap/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ public function anyFaktur()
</style>
';

$url = url(ADMIN./tmp/billing.besar.html');
$url = url(ADMIN.'/tmp/billing.besar.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($css);
Expand Down
2 changes: 1 addition & 1 deletion plugins/kasir_rawat_jalan/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ public function anyFaktur()
</style>
';

$url = url(ADMIN./tmp/billing.besar.html');
$url = url(ADMIN.'/tmp/billing.besar.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($css);
Expand Down
2 changes: 1 addition & 1 deletion plugins/kepegawaian/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public function getPrint()
$mpdf->SetHTMLHeader($this->core->setPrintHeader());
$mpdf->SetHTMLFooter($this->core->setPrintFooter());

$url = url(ADMIN./tmp/cetak.pegawai.html');
$url = url(ADMIN.'/tmp/cetak.pegawai.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($html,\Mpdf\HTMLParserMode::HTML_BODY);
Expand Down
2 changes: 1 addition & 1 deletion plugins/laboratorium/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ public function getCetakHasil()
</style>
';

$url = url(ADMIN./tmp/cetakhasil.html');
$url = url(ADMIN.'/tmp/cetakhasil.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($css);
Expand Down
8 changes: 4 additions & 4 deletions plugins/pasien/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ public function getCetakKartu($no_rkm_medis)
'margin_bottom' => 4
]);

$url = url(ADMIN./tmp/kartu.html');
$url = url(ADMIN.'/tmp/kartu.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($html);

Expand Down Expand Up @@ -861,7 +861,7 @@ public function getExportPDF()
$mpdf->SetHTMLHeader($this->core->setPrintHeader());
$mpdf->SetHTMLFooter($this->core->setPrintFooter());

$url = url(ADMIN./tmp/pasien.export.pdf.html');
$url = url(ADMIN.'/tmp/pasien.export.pdf.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($html,\Mpdf\HTMLParserMode::HTML_BODY);
Expand Down Expand Up @@ -922,7 +922,7 @@ public function getCetakMpdf()
$mpdf->SetHTMLHeader($this->core->setPrintHeader());
$mpdf->SetHTMLFooter($this->core->setPrintFooter());

$url = url(ADMIN./tmp/cetak.pasien.html');
$url = url(ADMIN.'/tmp/cetak.pasien.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($html,\Mpdf\HTMLParserMode::HTML_BODY);
Expand Down Expand Up @@ -976,7 +976,7 @@ public function getCetakRiwayatMpdf()
public function getExcel()
{
$file = "data.pasien.xls";
$html = file_get_contents(url(ADMIN./tmp/cetak.pasien.html'));
$html = file_get_contents(url(ADMIN.'/tmp/cetak.pasien.html'));
header("Content-type: application/vnd-ms-excel");
header("Content-Disposition: attachment; filename=$file");
echo "<!DOCTYPE html><html><head></head><body>";
Expand Down
2 changes: 1 addition & 1 deletion plugins/penjualan/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public function anyFaktur()
</style>
';

$url = url(ADMIN./tmp/billing.besar.html');
$url = url(ADMIN.'/tmp/billing.besar.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($css);
Expand Down
2 changes: 1 addition & 1 deletion plugins/radiologi/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ public function getCetakHasil()
</style>
';

$url = url(ADMIN./tmp/cetakhasil.html');
$url = url(ADMIN.'/tmp/cetakhasil.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($css);
Expand Down
4 changes: 2 additions & 2 deletions plugins/rawat_jalan/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -1343,7 +1343,7 @@ public function getCetakPdf()
$mpdf->SetHTMLHeader($this->core->setPrintHeader());
$mpdf->SetHTMLFooter($this->core->setPrintFooter());

$url = url(ADMIN./tmp/cetak.rawat_jalan.html');
$url = url(ADMIN.'/tmp/cetak.rawat_jalan.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($html,\Mpdf\HTMLParserMode::HTML_BODY);
Expand All @@ -1356,7 +1356,7 @@ public function getCetakPdf()
public function getExcel()
{
$file = "data.pasien.rawat.jalan.xls";
$html = file_get_contents(url(ADMIN./tmp/cetak.rawat_jalan.html'));
$html = file_get_contents(url(ADMIN.'/tmp/cetak.rawat_jalan.html'));
header("Content-type: application/vnd-ms-excel");
header("Content-Disposition: attachment; filename=$file");
echo "<!DOCTYPE html><html><head></head><body>";
Expand Down
2 changes: 1 addition & 1 deletion plugins/utd/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function getCetakPendonor()
$mpdf->SetHTMLHeader($this->core->setPrintHeader());
$mpdf->SetHTMLFooter($this->core->setPrintFooter());

$url = url(ADMIN./tmp/cetak.utd.html');
$url = url(ADMIN.'/tmp/cetak.utd.html');
$html = file_get_contents($url);
$mpdf->WriteHTML($this->core->setPrintCss(),\Mpdf\HTMLParserMode::HEADER_CSS);
$mpdf->WriteHTML($html,\Mpdf\HTMLParserMode::HTML_BODY);
Expand Down