<?php

return [

    'messages' => [
        'account_created_successfully'            => 'Account created successfully.',
        'account_updated_successfully'            => 'Account updated successfully.',
        'account_deleted_successfully'            => 'Account deleted successfully.',
        'account_delete_blocked'                  => 'This account has ledger/transfer data, so it cannot be deleted.',
        'opening_balance_capital_for_account'    => 'Opening balance capital for account: ',
    ],

    'validation' => [
        'name_required'           => 'The account name field is required.',
        'name_string'             => 'The account name must be a string.',
        'name_max'                => 'The account name may not be greater than 255 characters.',

        'account_number_string'   => 'The account number must be a string.',
        'account_number_max'      => 'The account number may not be greater than 255 characters.',

        'type_required'           => 'The account type field is required.',
        'type_in'                 => 'The selected account type is invalid.',

        'opening_balance_numeric' => 'The opening balance must be a number.',
        'opening_balance_min'     => 'The opening balance must be at least 0.',

        'status_required'         => 'The status field is required.',
        'status_in'               => 'The selected status is invalid.',
    ],

];