• Rais Aryaguna's avatar
    feat: Add new constants and refactor hooks for Bulanan Bupot · 1748cbbe
    Rais Aryaguna authored
    - Introduced METODE_POTONG constants for payment methods.
    - Updated useGetBulanan hook to normalize data structure and improve readability.
    - Refactored useSaveBulanan hook to handle new data structure and API calls.
    - Enhanced types in types.ts for better type safety and clarity.
    - Updated API utility functions to align with new data structures.
    - Improved BulananListView to display additional fields and formatted values.
    - Refactored BulananRekamView to include new validation schema and handle form submissions.
    - Changed fetcher utility in hitung.ts to use the correct endpoint for calculations.
    1748cbbe
master-data.ts 5.68 KB