Update last modified dates in PosController, NotaController, and AkhirController; enhance printing logic for thermal printers
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
Description : Laporan Stok Akhir Barang
|
||||
Created By : Siau Pheng ([email protected]).
|
||||
Created Date : January 24th, 2011.
|
||||
Last Modified : October 13th, 2026.
|
||||
Last Modified : November 2nd, 2026.
|
||||
|
||||
(c) 3FONIA Software; WWW.3FONIA.COM.
|
||||
|
||||
@@ -93,8 +93,12 @@ class AkhirController {
|
||||
$apre = $this->prepare();
|
||||
|
||||
$pre = new PrintPOS($this->app);
|
||||
$pre->set_fontsize(2);//thermal
|
||||
$pre->set_header_logo("logo-nota.png");//thermal
|
||||
if (Invesa::Printer_Thermal(Param::Get("Printer", ""))) {
|
||||
$pre->set_fontsize(2);
|
||||
$pre->set_header_logo("logo-nota.png");
|
||||
} else {
|
||||
$pre->add_header($this->reg_name);
|
||||
}
|
||||
if ($this->app_inv['PRINT_AUTOCUT'] === 1) $pre->set_cutpaper();
|
||||
$pre->add_empty();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user