<?xml version="1.0" encoding="UTF-8"?>
<view>
    <columns>
        <column name="id" display="none" order="100">
            <widget type="text" fieldname="idrecibo" />
        </column>
        <column name="date" display="none" order="110">
            <widget type="date" fieldname="fecha" />
        </column>
        <column name="invoice" order="120">
            <widget type="autocomplete" fieldname="idfactura" onclick="EditFacturaCliente" readonly="dinamic">
                <values source="facturascli" fieldcode="idfactura" fieldtitle="codigo" />
            </widget>
        </column>
        <column name="Saldo" display="right" order="160">
            <widget type="money" fieldname="importe">
                <option color="danger">lt:0</option>
            </widget>
        </column>
        <column name="paid" display="center" order="180">
            <widget type="checkbox" fieldname="pagado" />
        </column>
        <column name="payment" title="method-payment" order="170">
            <widget type="select" fieldname="codpago" onclick="EditFormaPago">
                <values source="formaspago" fieldcode="codpago" fieldtitle="descripcion" />
            </widget>
        </column>
        <column name="date" order="190">
            <widget type="date" fieldname="fecha"/>
        </column>
        <column name="expiration" display="right" order="200">
            <widget type="date" fieldname="vencimiento" />
        </column>
        <column name="Dias Vencidos" display="right" order="370">
            <widget type="number" fieldname="diferencia" decimal="0"/>
        </column>
    </columns>
</view>