export const getJurnalByTransId = async (trans_id : string, token : string) => {
    return await fetch(`/api/jurnal/${trans_id}`, {
        method : 'GET',
        headers : {
            'Accept' : 'application/json',
            'Authorization': `Bearer ${token}`
        }
    });
}

export const getSaldoAkun = async (kode_akun : string, tanggal : string ,token : string) => {
    return await fetch(`/api/saldo-akun/${kode_akun}?tanggal=${tanggal}`, {
        method : 'GET',
        headers : {
            'Accept' : 'application/json',
            'Authorization': `Bearer ${token}`
        }
    });
}


