const o=async({tgl_awal:a,tgl_akhir:n,jenis_transaksi:t})=>{const p=new URLSearchParams;return a&&p.append("tgl_awal",a),n&&p.append("tgl_akhir",n),t&&p.append("jenis_transaksi",t),await fetch(`/api/laporan/transaksi-rincian?${p.toString()}`,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}})},e=async({tgl_awal:a,tgl_akhir:n})=>{const t=new URLSearchParams;return a&&t.append("tgl_awal",a),n&&t.append("tgl_akhir",n),await fetch(`/api/laporan/transaksi-rekap?${t.toString()}`,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}})},s=async a=>{const n=new URLSearchParams;return a.status&&n.append("status",a.status.toString()),a.jenis_kelamin&&n.append("jenis_kelamin",a.jenis_kelamin),a.kelurahan&&n.append("kelurahan",a.kelurahan),a.kecamatan&&n.append("kecamatan",a.kecamatan),a.kabupaten&&n.append("kabupaten",a.kabupaten),a.status_marital&&n.append("status_marital",a.status_marital),a.agama&&n.append("agama",a.agama),await fetch(`/api/laporan/nominatif-anggota?${n.toString()}`,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}})},i=async a=>{const n=new URLSearchParams;return a.status&&n.append("status",a.status.toString()),a.produk&&n.append("produk",a.produk),await fetch(`/api/laporan/nominatif-tabungan?${n.toString()}`,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}})},c=async a=>{const n=new URLSearchParams;return a.status&&n.append("status",a.status.toString()),a.produk&&n.append("produk",a.produk),await fetch(`/api/laporan/nominatif-deposito?${n.toString()}`,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}})},r=async a=>{const n=new URLSearchParams;return a.tanggal&&n.append("tanggal",a.tanggal),await fetch(`/api/laporan/neraca?${n.toString()}`,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}})},g=async a=>{const n=new URLSearchParams;return a.tanggal&&n.append("tanggal",a.tanggal),await fetch(`/api/laporan/laba-rugi?${n.toString()}`,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}})},d=async a=>{const n=new URLSearchParams;return a.kode_akun&&n.append("kode_akun",a.kode_akun),a.tgl_awal&&n.append("tgl_awal",a.tgl_awal),a.tgl_akhir&&n.append("tgl_akhir",a.tgl_akhir),await fetch(`/api/laporan/buku-besar?${n.toString()}`,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}})};export{g as a,r as b,c,o as d,e,i as f,d as g,s as h};
