<?php

return [

    'messages' => [
        'entry_added'                 => 'Account ledger entry added.',
        'entry_deleted'               => 'Ledger entry deleted.',
        'auto_posted_delete_blocked'  => 'Auto-posted ledger cannot be deleted. Please delete it from the related module.',
    ],

    'validation' => [
        'action_required'            => 'The action field is required.',
        'action_in'                  => 'The selected action is invalid.',

        'amount_required'            => 'The amount field is required.',
        'amount_numeric'             => 'The amount must be a number.',
        'amount_min'                 => 'The amount must be at least 0.01.',

        'note_string'                => 'The note must be a string.',
        'note_max'                   => 'The note may not be greater than 50 characters.',

        'posted_at_date'             => 'The posted date must be a valid date.',
        'posted_at_before_or_equal'  => 'The posted date may not be in the future.',
    ],

];