Scanner Kamera
Arahkan barcode / QR ke kamera.

SDN HARAPAN MULIA 03

Beranda

Klik Muat Ulang untuk mengambil data terbaru dari Google Sheet.

Sinkron Terakhir

Belum dimuat

`); w.document.close(); } function printBukuInduk(){ const rows = state.books.map((b,i)=>`${i+1}${esc(b.TanggalTerima)}${esc(b.NomorInduk)}${esc(b.Judul)}${esc(b.Pengarang)}${esc(b.Penerbit)}${esc(b.TahunTerbit)}${esc(b.AsalBuku)}${esc(b.Harga)}${esc(b.Keterangan)}`).join(""); openPrint(`${kopSurat()}

BUKU INDUK PERPUSTAKAAN

${rows}
NoTgl TerimaNo IndukJudulPengarangPenerbitTahunAsalHargaKet
`); } function printKatalog(type){ const title = type==="pengarang" ? "KARTU KATALOG PENGARANG" : type==="judul" ? "KARTU KATALOG JUDUL" : "KARTU KATALOG SUBJEK"; const cards = state.books.map(b=>`
${title}

${esc(b.KlasifikasiDDC)} ${esc(b.Cutter)}

${esc(b.Judul)}

Pengarang: ${esc(b.Pengarang)}

Penerbit: ${esc(b.Penerbit)}, ${esc(b.KotaTerbit)} ${esc(b.TahunTerbit)}

Subjek: ${esc(b.Subjek)}

No Induk: ${esc(b.NomorInduk)}

`).join(""); openPrint(`${kopSurat()}

${title}

${cards}`); } function printLabelPunggung(){ const labels = state.books.map(b=>`
${esc(b.KlasifikasiDDC)}${esc(b.Cutter)}${esc((b.Judul||"").substring(0,3)).toUpperCase()}${esc(b.NomorInduk)}
`).join(""); openPrint(`${kopSurat()}

LABEL PUNGGUNG BUKU

${labels}`); } function printBarcodeBuku(){ const labels = state.books.map(b=>`
${esc(b.Judul)}${esc(b.NomorInduk)}
`).join(""); openPrint(`${kopSurat()}

BARCODE BUKU

${labels}`); } function printSingleBarcode(code, title, nomor){ openPrint(`${kopSurat()}
${esc(title)}${esc(nomor)}
`); } function printKartuAnggota(){ const cards = state.members.map(m=>`
PERMATA HM03
Perpustakaan Maju Digital SDN Harapan Mulia 03

${esc(m.Nama)}

Kelas: ${esc(m.Kelas)}

NISN: ${esc(m.NISN)}

`).join(""); openPrint(`${kopSurat()}

KARTU ANGGOTA

${cards}`); } function printRankingKunjungan(){ const rows = getVisitRanking().map((r,i)=>`${i+1}${esc(r.Nama)}${esc(r.Kelas)}${r.total}`).join(""); openPrint(`${kopSurat()}

RANKING SISWA RAJIN DATANG KE PERPUSTAKAAN - ${rankingPeriodLabel().toUpperCase()}

${rows || ''}
PeringkatNamaKelasJumlah Kunjungan
Belum ada data
`); } function printRankingPinjam(){ const rows = getBorrowRanking().map((r,i)=>`${i+1}${esc(r.Nama)}${esc(r.Kelas)}${r.total}`).join(""); openPrint(`${kopSurat()}

RANKING SISWA RAJIN PINJAM BUKU - ${rankingPeriodLabel().toUpperCase()}

${rows || ''}
PeringkatNamaKelasJumlah Pinjam
Belum ada data
`); } function printRankingTepatWaktu(){ const rows = getOnTimeBorrowRanking().map((r,i)=>`${i+1}${esc(r.Nama)}${esc(r.Kelas)}${r.total}`).join(""); openPrint(`${kopSurat()}

RANKING SISWA RAJIN PINJAM BUKU DAN TEPAT WAKTU - ${rankingPeriodLabel().toUpperCase()}

${rows || ''}
PeringkatNamaKelasPinjam Tepat Waktu
Belum ada data
`); } /* ============================================================ INIT ============================================================ */ renderMenus(); go("beranda"); loadData();