fields:
    amount:
        label: Amount
        span: auto
        disabled: 0
        readOnly: 0
        required: 1
        type: number
    user:
        label: Payer
        nameFrom: email
        descriptionFrom: description
        span: auto
        type: relation
    created_at:
        label: 'Payment date'
        mode: datetime
        span: auto

        type: datepicker
    payment_type:
        label: 'Payment type'
        options:
            bank: Bank
            online: Online
            gift: Gift
        span: auto
        disabled: 1
        type: balloon-selector
    status:
        label: Status
        options:
            new: new
            approved: approved
            declined: declined
            failed: failed
        span: auto
        type: balloon-selector
        dependsOn: payment_type
    note:
        label: Note
        size: ''
        span: auto
        type: textarea
    bank_file:
        label: 'Bank file'
        mode: file
        useCaption: true
        thumbOptions:
            mode: crop
            extension: auto
        span: auto
        type: fileupload
