Fundamentals of financial and management accounting