|
@@ -11,13 +11,37 @@
|
|
</t>
|
|
</t>
|
|
</t>
|
|
</t>
|
|
|
|
|
|
|
|
+ <t t-extend="ClientDetails">
|
|
|
|
+ <t t-jquery="div.client-details-right>div:first-child" t-operation="before">
|
|
|
|
+ <div class='client-detail'>
|
|
|
|
+ <span class='label'>Dep.</span>
|
|
|
|
+ <span class='detail client-state'><t t-esc='partner.state_id[1]'/></span>
|
|
|
|
+ </div>
|
|
|
|
+ </t>
|
|
|
|
+ </t>
|
|
|
|
+
|
|
<!-- Editar Formulario -->
|
|
<!-- Editar Formulario -->
|
|
<t t-extend="ClientDetailsEdit">
|
|
<t t-extend="ClientDetailsEdit">
|
|
- <t t-jquery="div.client-details-left>div:first-child" t-operation="before">
|
|
|
|
|
|
+ <t t-jquery="div.client-details-left>div:first-child" t-operation="before">
|
|
<div class='client-detail'>
|
|
<div class='client-detail'>
|
|
<span class='label'>RUC</span>
|
|
<span class='label'>RUC</span>
|
|
<input class='detail client-ruc' name='ruc' t-att-value='partner.ruc' placeholder='RUC-DNI'></input>
|
|
<input class='detail client-ruc' name='ruc' t-att-value='partner.ruc' placeholder='RUC-DNI'></input>
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ </t>
|
|
|
|
+ </t>
|
|
|
|
+ <t t-extend="ClientDetailsEdit">
|
|
|
|
+ <t t-jquery="div.client-details-right>div:first-child" t-operation="before">
|
|
|
|
+ <div class='client-detail'>
|
|
|
|
+ <span class='label'>Dep.</span>
|
|
|
|
+ <select class='detail client-address-states needsclick' name='state_id'>
|
|
|
|
+ <option value=''>None</option>
|
|
|
|
+ <t t-foreach='widget.pos.states' t-as='state'>
|
|
|
|
+ <option t-att-value='state.id' t-att-selected="partner.state_id ? ((state.id === partner.state_id[0]) ? true : undefined) : undefined">
|
|
|
|
+ <t t-esc='state.complete_name'/>
|
|
|
|
+ </option>
|
|
|
|
+ </t>
|
|
|
|
+ </select>
|
|
|
|
+ </div>
|
|
</t>
|
|
</t>
|
|
</t>
|
|
</t>
|
|
-</templates>
|
|
|
|
|
|
+</templates>
|