Desain Baru

This commit is contained in:
mikael-zakaria 2024-12-02 18:55:45 +08:00
parent 6b075d3341
commit a08eb80886

View File

@ -27,8 +27,8 @@ class Prints extends BaseController {
$pathNetworkFolder = 'L:/Sampling_Labels/'; $pathNetworkFolder = 'L:/Sampling_Labels/';
// Buka Mapping Drive PC Sampling // Buka Mapping Drive PC Sampling
exec('net use S: \\\\10.148.5.20\\Labelshare /user:Administrator 2>&1', $output, $return_var); // exec('net use S: \\\\10.148.5.20\\Labelshare /user:Administrator 2>&1', $output, $return_var);
$pathNetworkFolder = 'S:/Sampling_Labels/'; // $pathNetworkFolder = 'S:/Sampling_Labels/';
$time = microtime(true); $time = microtime(true);
$logTime = date('d-m-Y_H_i_s', $time) . sprintf('_%03d', ($time - floor($time)) * 1000); $logTime = date('d-m-Y_H_i_s', $time) . sprintf('_%03d', ($time - floor($time)) * 1000);
@ -38,18 +38,18 @@ class Prints extends BaseController {
$sampleLable ="N $sampleLable ="N
OD OD
q400 q400
Q224,24+0 Q200,10+0
I8,A,001 I8,A,001
D10 D10
A2,2,0,2,1,1,N,\"MRS.MIKAELA LETTA XABRIANA\" A4,3,0,2,1,1,N,\"Mr.I Putu Agus Ariesta Adi Wawan\"
A2,25,0,2,1,1,N,\"M 22Y\" A4,25,0,2,1,1,N,\"M 29Y\"
A2,60,0,2,1,1,N,\"SERUM\" A4,55,0,2,1,1,N,\"SAMPLE\"
A290,60,0,2,1,1,N,\"24020840\" A4,75,0,2,1,1,N,\"Chapter\"
B110,30,0,1,2,8,70,N,\"24020840\" B149,35,0,1,3,8,70,N,\"24020840\"
A2,110,0,2,1,1,N,\"PSA,HDL,LDL,BUN,SGOT\" A199,110,0,2,1,1,N,\"LAB 24020840\"
A2,131,0,1,1,1,N,\"LIS : 0978658\" A4,140,0,2,1,1,N,\"UH : 1B094943\"
A2,145,0,1,1,1,N,\"HIS : 1252434\" A4,160,0,2,1,1,N,\"BV : BV035725\"
A270,140,0,2,1,1,N,\"02-12-2024\" A195,156,0,2,1,1,N,\"03/12/2024 07:10\"
P1 P1
"; ";
@ -66,7 +66,7 @@ P1
} }
// Hapus Koneksi // Hapus Koneksi
exec('net use S: /delete 2>&1', $output, $return_var); exec('net use L: /delete 2>&1', $output, $return_var);
return $this->response->setJSON( return $this->response->setJSON(
[ [
'message' => "Print Berhasil", 'message' => "Print Berhasil",