brian: bahan (auto update stok bahan + log beli + log pakai)