<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<object-views xmlns="http://axelor.com/xml/ns/object-views"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://axelor.com/xml/ns/object-views http://axelor.com/xml/ns/object-views/object-views_5.2.xsd">

	<grid name="bank-statement-line-afb-120-grid" title="Bank Statement lines" model="com.axelor.apps.bankpayment.db.BankStatementLineAFB120" orderBy="sequence" edit-icon="true">
		<hilite color="info" if="lineTypeSelect == 1"/>
		<hilite color="primary" if="lineTypeSelect == 3"/>
		<hilite color="danger" if="amountRemainToReconcile > 0 &amp;&amp; amountRemainToReconcile >= debit + credit"/>
		<hilite color="warning" if="amountRemainToReconcile > 0 &amp;&amp; amountRemainToReconcile &lt; debit + credit"/>
		<hilite color="success" if="amountRemainToReconcile == 0"/>
		<field name="sequence" width="50"/>
		<field name="lineTypeSelect" width="90"/>
		<field name="operationDate" width="90"/>
		<field name="valueDate" width="90"/>
		<field name="debit" width="90"/>
		<field name="credit" width="90"/>
		<field name="currency" width="60" form-view="currency-form" grid-view="currency-grid"/>
		<field name="bankDetails" width="400" form-view="bank-details-form" grid-view="bank-details-grid"/>
		<field name="bankDetails.code" width="60"/>
		<field name="origin" width="70"/>
		<field name="reference" width="150"/>
		<field name="description" width="500"/>
		<field name="amountRemainToReconcile" width="80"/>
	</grid>

	<form name="bank-statement-line-afb-120-form" title="Bank Statement line" model="com.axelor.apps.bankpayment.db.BankStatementLineAFB120" readonlyIf="true">
		<panel name="mainPanel" colSpan="12">
			<field name="sequence"/>
			<field name="lineTypeSelect"/>
			<field name="operationDate"/>
			<field name="valueDate"/>
			<field name="debit"/>
			<field name="credit"/>
			<field name="currency" grid-view="currency-grid" form-view="currency-form"/>
			<field name="bankDetails" grid-view="bank-details-grid" form-view="bank-details-form"/>
			<field name="operationInterbankCodeLine" grid-view="interbank-code-line-grid" form-view="interbank-code-line-form"/>
			<field name="rejectInterbankCodeLine" grid-view="interbank-code-line-grid" form-view="interbank-code-line-form"/>
			<field name="origin"/>
			<field name="reference"/>
			<field name="unavailabilityIndexSelect"/>
			<field name="commissionExemptionIndexSelect"/>
			<field name="description" colSpan="12"/>
		</panel>
	</form>

</object-views>