{% extends 'Common/baseAdminPannel.html.twig' %} {% block title %} {{"Agregar movimiento"}} {% endblock %} {% block body %}
{% if purse %} {{ include('backend/reservations/purse/clientInfo.twig', {client: purse.client }) }} {% endif %}
{% if purse %}
{#{{ "Esta acción genera un pago de/a cliente que debe ser validado." }}
#} {{ "Saldo del monedero: " }}{{ purse.amount|price }}
{% endif %}
{{ form_start(edit_form, {'attr':{'data-remote':'true', 'data-method':'POST', 'data-url':edit_form.vars.action } }) }}
{{ form_row(edit_form.type) }}
{{ form_row(edit_form.amount) }}
{% if edit_form.invoice is defined %}
{{ form_row(edit_form.invoice) }}
{% endif %}
{{ form_row(edit_form.comment) }} {{ '*' }}{{ 'NOTA: la información de este campo se le mostrará al cliente' }}
{{ form_row(edit_form.purse) }}
{{ form_end(edit_form) }} {% endblock %}