Kitap Kâr Hesaplama
Kitap Kâr Hesaplama
ISBN girerek kâr hesabı yapın!
Kâr Hesapla
<script>
function calculateProfit() {
const isbn = document.getElementById('isbn').value;
// Şu an test için basit bir hesaplama yapıyoruz, daha sonra Keepa API ekleyeceğiz
const costPrice = 10; // Örnek maliyet fiyatı
const listPrice = 25; // Örnek liste fiyatı
const profit = listPrice - costPrice;
document.getElementById('result').innerText = `Kâr: $${profit.toFixed(2)}`;
}
</script>