diff --git a/htdocs/resources/views/cetak/rekappenerimaansample.blade.php b/htdocs/resources/views/cetak/rekappenerimaansample.blade.php index fc5801e8..be51f741 100644 --- a/htdocs/resources/views/cetak/rekappenerimaansample.blade.php +++ b/htdocs/resources/views/cetak/rekappenerimaansample.blade.php @@ -42,7 +42,44 @@
| No | +Waktu Cetak | +Petugas | +Jumlah Row | +Aksi | +
|---|---|---|---|---|
| {{ $idx + 1 }} | +{{ $history['printed_at_label'] }} | +{{ $history['printed_by_name'] }} | +{{ $history['total_rows'] }} | ++ + | +
| Belum ada riwayat cetak. | +||||
| No | -Waktu Cetak | -Petugas | -Jumlah Row | -Aksi | -
|---|---|---|---|---|
| {{ $idx + 1 }} | -{{ $history['printed_at_label'] }} | -{{ $history['printed_by_name'] }} | -{{ $history['total_rows'] }} | -- - | -
| Belum ada riwayat cetak. | -||||
| - + | @if($isPrinted) diff --git a/listener/app.py b/listener/app.py index 29f4d712..95416256 100644 --- a/listener/app.py +++ b/listener/app.py @@ -97,8 +97,11 @@ DEVICE_CONFIGS = [ # 'protocol': 'serial', 'flag_column': 'flg_bd2' #}, ] -MYLA_HOST = '0.0.0.0' -MYLA_PORT = 60090 +MYLA_HOST = '10.10.120.89' +MYLA_PORT = 8000 +MYLA_POLL_INTERVAL_SECONDS = 5 +MYLA_CONNECT_RETRY_SECONDS = 5 +MYLA_ACK_TIMEOUT_SECONDS = 8 # Karakter kontrol standar STX, ETX, ACK, NAK, EOT, ENQ = b'\x02', b'\x03', b'\x06', b'\x15', b'\x04', b'\x05' |