<?php

return [

    'messages' => [
        'purchase_added' => 'Purchase added.',
        'payment_added_account_ledger_posted' => 'Payment added & account ledger posted.',
        'debit_or_credit_must_be_greater_than_zero' => 'Purchase or Payment must be greater than 0.',
        'adjust_added' => 'Adjust added.',
        'updated_synced' => 'Updated & synced.',
        'deleted_synced' => 'Deleted & synced.',
    ],

    'defaults' => [
        'supplier_payment' => 'Supplier payment',
    ],

    'validation' => [
        'debit_required' => 'Purchase amount is required.',
        'debit_numeric' => 'Purchase amount must be a valid number.',
        'debit_min' => 'Purchase amount must be at least 01.',
        'debit_zero_or_more' => 'Purchase amount must be 0 or more.',

        'credit_required' => 'Payment amount is required.',
        'credit_numeric' => 'Payment amount must be a valid number.',
        'credit_min' => 'Payment amount must be at least 01.',
        'credit_zero_or_more' => 'Payment amount must be 0 or more.',

        'note_required' => 'Note is required.',
        'note_string' => 'Note must be valid text.',
        'note_max' => 'Note may not be greater than 200 characters.',

        'memo_no_string' => 'Memo number must be valid text.',
        'memo_no_max' => 'Memo number may not be greater than 10 characters.',

        'memo_photo_file' => 'Memo photo must be a valid file.',
        'memo_photo_mimes' => 'Memo photo must be a file of type: jpg, jpeg, png, webp, pdf.',
        'memo_photo_max' => 'Memo photo may not be greater than 4MB.',

        'payment_proof_photo_file' => 'Payment proof must be a valid file.',
        'payment_proof_photo_mimes' => 'Payment proof must be a file of type: jpg, jpeg, png, webp, pdf.',
        'payment_proof_photo_max' => 'Payment proof may not be greater than 4MB.',

        'posted_at_date' => 'Posted date must be a valid date.',

        'user_account_id_required' => 'Account is required.',
        'user_account_id_integer' => 'Selected account is invalid.',
    ],

];