<?php

return [

    'messages' => [
        'owner_investment' => 'Owner investment',
        'owner_drawing'    => 'Owner drawing',

        'store_success'    => 'Owner transaction saved & account ledger posted.',
        'update_success'   => 'Owner transaction updated & ledger synced.',
        'destroy_success'  => 'Owner transaction deleted & ledger removed.',
    ],

    'validation' => [
        'type_required'             => 'Transaction type is required.',
        'type_in'                   => 'Transaction type must be either investment or drawing.',

        'user_account_id_required'  => 'Account is required.',
        'user_account_id_integer'   => 'Account must be a valid integer.',

        'amount_required'           => 'Amount is required.',
        'amount_numeric'            => 'Amount must be a number.',
        'amount_min'                => 'Amount must be at least 1.00.',

        'note_string'               => 'Note must be a string.',
        'note_max'                  => 'Note may not be greater than 2000 characters.',

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

];