Perbaikan printer label ke Lab dan Sampling
This commit is contained in:
parent
f52c4196b9
commit
c2dc8cae56
@ -98,10 +98,10 @@ where st.SP_ACCESSNUMBER='$access' AND ds.SAMPCODE = '$sampletype'";
|
|||||||
|
|
||||||
// Ruang Analis Printer POSTEK C168/200s
|
// Ruang Analis Printer POSTEK C168/200s
|
||||||
if ($role === 'admin' || $role === 'user') {
|
if ($role === 'admin' || $role === 'user') {
|
||||||
//$printer = $this->printerLab();
|
$printer = $this->printerLab();
|
||||||
$label = $this->labelPostek($sample, $title, $name, $sex, $age, $barcode, $uhid, $bv );
|
$label = $this->labelPostek($sample, $title, $name, $sex, $age, $barcode, $uhid, $bv );
|
||||||
} else if ($role === 'sampling') {
|
} else if ($role === 'sampling') {
|
||||||
//$printer = $this->printerSampling();
|
$printer = $this->printerSampling();
|
||||||
$label = $this->labelZebra($sample, $title, $name, $sex, $age, $barcode, $uhid, $bv );
|
$label = $this->labelZebra($sample, $title, $name, $sex, $age, $barcode, $uhid, $bv );
|
||||||
} else {
|
} else {
|
||||||
// Eksekusi Kode Berikut Apabila Role Bukan Analis atau Sampling
|
// Eksekusi Kode Berikut Apabila Role Bukan Analis atau Sampling
|
||||||
@ -112,7 +112,9 @@ where st.SP_ACCESSNUMBER='$access' AND ds.SAMPCODE = '$sampletype'";
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$folder = "C:/data/";
|
// var_dump($printer);die();
|
||||||
|
// $folder = "C:/data/";
|
||||||
|
$folder = $printer[0];
|
||||||
$fullPath = $folder . $filename;
|
$fullPath = $folder . $filename;
|
||||||
|
|
||||||
// Tulis file ke folder tujuan
|
// Tulis file ke folder tujuan
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user