|
|
|
|
@@ -4,17 +4,11 @@
|
|
|
|
|
<h4>FILTRO DE PARCEIROS</h4>
|
|
|
|
|
<label>
|
|
|
|
|
<span>CPF</span>
|
|
|
|
|
<kendo-textbox
|
|
|
|
|
formControlName="cpf"
|
|
|
|
|
placeholder="Informe o CPF do parceiro"
|
|
|
|
|
></kendo-textbox>
|
|
|
|
|
<kendo-textbox formControlName="cpf" placeholder="Informe o CPF do parceiro"></kendo-textbox>
|
|
|
|
|
</label>
|
|
|
|
|
<label class="mt-2">
|
|
|
|
|
<span>Nome</span>
|
|
|
|
|
<kendo-textbox
|
|
|
|
|
formControlName="name"
|
|
|
|
|
placeholder="Informe o nome do parceiro"
|
|
|
|
|
></kendo-textbox>
|
|
|
|
|
<kendo-textbox formControlName="name" placeholder="Informe o nome do parceiro"></kendo-textbox>
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
|
|
<div class="row mt-2">
|
|
|
|
|
@@ -23,72 +17,34 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-12 col-md-4 col-lg-2">
|
|
|
|
|
<label>
|
|
|
|
|
<input
|
|
|
|
|
type="radio"
|
|
|
|
|
name="type"
|
|
|
|
|
value="P"
|
|
|
|
|
#other
|
|
|
|
|
formControlName="type"
|
|
|
|
|
kendoRadioButton
|
|
|
|
|
/>
|
|
|
|
|
<input type="radio" name="type" value="P" #other formControlName="type" kendoRadioButton />
|
|
|
|
|
<span class="in-line">Parceiros</span>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-12 col-md-4 col-lg-2">
|
|
|
|
|
<label>
|
|
|
|
|
<input
|
|
|
|
|
type="radio"
|
|
|
|
|
name="type"
|
|
|
|
|
value="B"
|
|
|
|
|
#other
|
|
|
|
|
formControlName="type"
|
|
|
|
|
kendoRadioButton
|
|
|
|
|
/>
|
|
|
|
|
<input type="radio" name="type" value="B" #other formControlName="type" kendoRadioButton />
|
|
|
|
|
<span class="in-line">Bella Obra</span>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-12 col-md-4 col-lg-3">
|
|
|
|
|
<label>
|
|
|
|
|
<input
|
|
|
|
|
type="radio"
|
|
|
|
|
name="type"
|
|
|
|
|
value="M"
|
|
|
|
|
#other
|
|
|
|
|
formControlName="type"
|
|
|
|
|
kendoRadioButton
|
|
|
|
|
/>
|
|
|
|
|
<span class="in-line">Mestre Jurunense</span>
|
|
|
|
|
<input type="radio" name="type" value="M" #other formControlName="type" kendoRadioButton />
|
|
|
|
|
<span class="in-line">Mestre Simplifique</span>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-sm-12 col-md-4 col-lg-2">
|
|
|
|
|
<label>
|
|
|
|
|
<input
|
|
|
|
|
type="radio"
|
|
|
|
|
name="type"
|
|
|
|
|
value="T"
|
|
|
|
|
#other
|
|
|
|
|
formControlName="type"
|
|
|
|
|
kendoRadioButton
|
|
|
|
|
/>
|
|
|
|
|
<input type="radio" name="type" value="T" #other formControlName="type" kendoRadioButton />
|
|
|
|
|
<span class="in-line">Todos</span>
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="mt-3 row-buttons">
|
|
|
|
|
<button
|
|
|
|
|
kendoButton
|
|
|
|
|
rounded="medium"
|
|
|
|
|
themeColor="primary"
|
|
|
|
|
(click)="getPartners()"
|
|
|
|
|
>
|
|
|
|
|
<button kendoButton rounded="medium" themeColor="primary" (click)="getPartners()">
|
|
|
|
|
Pesquisar
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
kendoButton
|
|
|
|
|
rounded="medium"
|
|
|
|
|
themeColor="waring"
|
|
|
|
|
(click)="open()"
|
|
|
|
|
>
|
|
|
|
|
<button kendoButton rounded="medium" themeColor="waring" (click)="open()">
|
|
|
|
|
Incluir
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -96,15 +52,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<main class="flex-fill">
|
|
|
|
|
<kendo-grid
|
|
|
|
|
[kendoGridBinding]="gridView"
|
|
|
|
|
class="gridPartners"
|
|
|
|
|
(edit)="editPartner($event)"
|
|
|
|
|
[sortable]="true"
|
|
|
|
|
[reorderable]="true"
|
|
|
|
|
[resizable]="true"
|
|
|
|
|
[columnMenu]="{ filter: true }"
|
|
|
|
|
>
|
|
|
|
|
<kendo-grid [kendoGridBinding]="gridView" class="gridPartners" (edit)="editPartner($event)" [sortable]="true"
|
|
|
|
|
[reorderable]="true" [resizable]="true" [columnMenu]="{ filter: true }">
|
|
|
|
|
<kendo-grid-column title="Código" field="id" width="80">
|
|
|
|
|
</kendo-grid-column>
|
|
|
|
|
<kendo-grid-column title="Tipo Parceiro" field="type" width="150">
|
|
|
|
|
@@ -115,11 +64,7 @@
|
|
|
|
|
</kendo-grid-column>
|
|
|
|
|
<kendo-grid-column title="Nome" field="name" width="250">
|
|
|
|
|
</kendo-grid-column>
|
|
|
|
|
<kendo-grid-column
|
|
|
|
|
title="Telefone"
|
|
|
|
|
field="phone"
|
|
|
|
|
width="100"
|
|
|
|
|
></kendo-grid-column>
|
|
|
|
|
<kendo-grid-column title="Telefone" field="phone" width="100"></kendo-grid-column>
|
|
|
|
|
|
|
|
|
|
<kendo-grid-column title="Data Cadastro" field="createDate" width="100">
|
|
|
|
|
<ng-template kendoGridCellTemplate let-dataItem>
|
|
|
|
|
@@ -163,25 +108,13 @@
|
|
|
|
|
</main>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<kendo-window
|
|
|
|
|
*ngIf="opened"
|
|
|
|
|
autoFocusedElement="#cpf"
|
|
|
|
|
title="CADASTRO DE PROFISSIONAL"
|
|
|
|
|
(close)="close()"
|
|
|
|
|
[minWidth]="250"
|
|
|
|
|
[width]="650"
|
|
|
|
|
[height]="650"
|
|
|
|
|
>
|
|
|
|
|
<kendo-window *ngIf="opened" autoFocusedElement="#cpf" title="CADASTRO DE PROFISSIONAL" (close)="close()"
|
|
|
|
|
[minWidth]="250" [width]="650" [height]="650">
|
|
|
|
|
<form class="k-form" [formGroup]="formPartner">
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>CPF</span>
|
|
|
|
|
<kendo-textbox
|
|
|
|
|
formControlName="cpf"
|
|
|
|
|
[clearButton]="true"
|
|
|
|
|
#cpf
|
|
|
|
|
(blur)="searchPartner()"
|
|
|
|
|
></kendo-textbox>
|
|
|
|
|
<kendo-textbox formControlName="cpf" [clearButton]="true" #cpf (blur)="searchPartner()"></kendo-textbox>
|
|
|
|
|
</label>
|
|
|
|
|
<kendo-formerror>Error: CPF é obrigatório</kendo-formerror>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
@@ -189,12 +122,7 @@
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>Nome</span>
|
|
|
|
|
<input
|
|
|
|
|
class="inputText"
|
|
|
|
|
formControlName="name"
|
|
|
|
|
#fullName
|
|
|
|
|
kendoTextBox
|
|
|
|
|
/>
|
|
|
|
|
<input class="inputText" formControlName="name" #fullName kendoTextBox />
|
|
|
|
|
</label>
|
|
|
|
|
<kendo-formerror>Error: Nome é obrigatório</kendo-formerror>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
@@ -204,78 +132,43 @@
|
|
|
|
|
<ul class="k-radio-list">
|
|
|
|
|
<li class="k-radio-item">
|
|
|
|
|
<label>
|
|
|
|
|
<input
|
|
|
|
|
type="radio"
|
|
|
|
|
#mestre
|
|
|
|
|
value="B"
|
|
|
|
|
kendoRadioButton
|
|
|
|
|
formControlName="type"
|
|
|
|
|
(change)="filterCategory('B')"
|
|
|
|
|
/>
|
|
|
|
|
<input type="radio" #mestre value="B" kendoRadioButton formControlName="type"
|
|
|
|
|
(change)="filterCategory('B')" />
|
|
|
|
|
<span> Bella Obra</span>
|
|
|
|
|
</label>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="k-radio-item">
|
|
|
|
|
<label>
|
|
|
|
|
<input
|
|
|
|
|
type="radio"
|
|
|
|
|
#mestre
|
|
|
|
|
value="P"
|
|
|
|
|
kendoRadioButton
|
|
|
|
|
formControlName="type"
|
|
|
|
|
(change)="filterCategory('P')"
|
|
|
|
|
/>
|
|
|
|
|
<input type="radio" #mestre value="P" kendoRadioButton formControlName="type"
|
|
|
|
|
(change)="filterCategory('P')" />
|
|
|
|
|
<span> Parceiro</span>
|
|
|
|
|
</label>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="k-radio-item">
|
|
|
|
|
<label>
|
|
|
|
|
<input
|
|
|
|
|
type="radio"
|
|
|
|
|
#parceiro
|
|
|
|
|
kendoRadioButton
|
|
|
|
|
value="M"
|
|
|
|
|
formControlName="type"
|
|
|
|
|
(change)="filterCategory('M')"
|
|
|
|
|
/>
|
|
|
|
|
<input type="radio" #parceiro kendoRadioButton value="M" formControlName="type"
|
|
|
|
|
(change)="filterCategory('M')" />
|
|
|
|
|
<span> Mestre</span>
|
|
|
|
|
</label>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<kendo-formerror *ngIf="formPartner.controls.type.errors?.required"
|
|
|
|
|
>Error: O tipo do parceiro é obrigatório</kendo-formerror
|
|
|
|
|
>
|
|
|
|
|
<kendo-formerror *ngIf="formPartner.controls.type.errors?.required">Error: O tipo do parceiro é
|
|
|
|
|
obrigatório</kendo-formerror>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
|
|
|
|
|
<kendo-formfield *ngIf="showCommission" showHints="initial">
|
|
|
|
|
<label>
|
|
|
|
|
<span class="d-block">Comissão (%)</span>
|
|
|
|
|
<input
|
|
|
|
|
*ngIf="!inputPercentPartner()"
|
|
|
|
|
[readOnly]="!inputPercentPartner()"
|
|
|
|
|
disabled="!inputPercentPartner()"
|
|
|
|
|
formControlName="commission"
|
|
|
|
|
type="number"
|
|
|
|
|
kendoNumericTextBox
|
|
|
|
|
/>
|
|
|
|
|
<input
|
|
|
|
|
*ngIf="inputPercentPartner()"
|
|
|
|
|
formControlName="commission"
|
|
|
|
|
type="number"
|
|
|
|
|
kendoNumericTextBox
|
|
|
|
|
/>
|
|
|
|
|
<input *ngIf="!inputPercentPartner()" [readOnly]="!inputPercentPartner()" disabled="!inputPercentPartner()"
|
|
|
|
|
formControlName="commission" type="number" kendoNumericTextBox />
|
|
|
|
|
<input *ngIf="inputPercentPartner()" formControlName="commission" type="number" kendoNumericTextBox />
|
|
|
|
|
</label>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
|
|
|
|
|
<kendo-formfield showHints="initial">
|
|
|
|
|
<label>
|
|
|
|
|
<input
|
|
|
|
|
kendoCheckBox
|
|
|
|
|
id="terms"
|
|
|
|
|
type="checkbox"
|
|
|
|
|
formControlName="buyer"
|
|
|
|
|
/>
|
|
|
|
|
<input kendoCheckBox id="terms" type="checkbox" formControlName="buyer" />
|
|
|
|
|
<span class="ms-2">Parceiro é comprador de cliente PJ?</span>
|
|
|
|
|
</label>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
@@ -283,17 +176,9 @@
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>Cliente</span>
|
|
|
|
|
<kendo-combobox
|
|
|
|
|
textField="name"
|
|
|
|
|
valueField="customerId"
|
|
|
|
|
formControlName="customer"
|
|
|
|
|
[data]="customer$ | async"
|
|
|
|
|
[loading]="loadingCustomer"
|
|
|
|
|
[filterable]="true"
|
|
|
|
|
(filterChange)="handleFilterCustomer($event)"
|
|
|
|
|
placeholder="Selecione o cliente..."
|
|
|
|
|
(selectionChange)="selectCustomer($event)"
|
|
|
|
|
>
|
|
|
|
|
<kendo-combobox textField="name" valueField="customerId" formControlName="customer" [data]="customer$ | async"
|
|
|
|
|
[loading]="loadingCustomer" [filterable]="true" (filterChange)="handleFilterCustomer($event)"
|
|
|
|
|
placeholder="Selecione o cliente..." (selectionChange)="selectCustomer($event)">
|
|
|
|
|
</kendo-combobox>
|
|
|
|
|
</label>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
@@ -304,74 +189,46 @@
|
|
|
|
|
<input formControlName="email" class="inputEmail" kendoTextBox #email />
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
|
|
<kendo-formerror *ngIf="formPartner.controls.type.errors?.required"
|
|
|
|
|
>Error: Email is required</kendo-formerror
|
|
|
|
|
>
|
|
|
|
|
<kendo-formerror *ngIf="formPartner.controls.email.errors?.email"
|
|
|
|
|
>Error: Not valid email format</kendo-formerror
|
|
|
|
|
>
|
|
|
|
|
<kendo-formerror *ngIf="formPartner.controls.type.errors?.required">Error: Email is required</kendo-formerror>
|
|
|
|
|
<kendo-formerror *ngIf="formPartner.controls.email.errors?.email">Error: Not valid email format</kendo-formerror>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>RG</span>
|
|
|
|
|
<kendo-textbox
|
|
|
|
|
formControlName="rg"
|
|
|
|
|
[clearButton]="true"
|
|
|
|
|
#rg
|
|
|
|
|
></kendo-textbox>
|
|
|
|
|
<kendo-textbox formControlName="rg" [clearButton]="true" #rg></kendo-textbox>
|
|
|
|
|
</label>
|
|
|
|
|
|
|
|
|
|
<kendo-formerror *ngIf="formPartner.controls.rg.errors?.rg"
|
|
|
|
|
>Error: RG é obrigaário</kendo-formerror
|
|
|
|
|
>
|
|
|
|
|
<kendo-formerror *ngIf="formPartner.controls.rg.errors?.rg">Error: RG é obrigaário</kendo-formerror>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>Registro Profissional</span>
|
|
|
|
|
<kendo-textbox
|
|
|
|
|
formControlName="professionalNumber"
|
|
|
|
|
[clearButton]="true"
|
|
|
|
|
#professionalnumber
|
|
|
|
|
></kendo-textbox>
|
|
|
|
|
<kendo-textbox formControlName="professionalNumber" [clearButton]="true" #professionalnumber></kendo-textbox>
|
|
|
|
|
</label>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>Telefone (Whatsapp)</span>
|
|
|
|
|
<kendo-textbox
|
|
|
|
|
formControlName="phone"
|
|
|
|
|
[clearButton]="true"
|
|
|
|
|
#phone
|
|
|
|
|
></kendo-textbox>
|
|
|
|
|
<kendo-textbox formControlName="phone" [clearButton]="true" #phone></kendo-textbox>
|
|
|
|
|
</label>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>Chave PIX</span>
|
|
|
|
|
<kendo-textbox
|
|
|
|
|
formControlName="pixKey"
|
|
|
|
|
[clearButton]="true"
|
|
|
|
|
#pixKey
|
|
|
|
|
></kendo-textbox>
|
|
|
|
|
<kendo-textbox formControlName="pixKey" [clearButton]="true" #pixKey></kendo-textbox>
|
|
|
|
|
</label>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>Vendedor</span>
|
|
|
|
|
<kendo-combobox
|
|
|
|
|
textField="name"
|
|
|
|
|
valueField="sellerId"
|
|
|
|
|
formControlName="seller"
|
|
|
|
|
[data]="sellers$ | async"
|
|
|
|
|
[kendoDropDownFilter]="{ operator: 'contains' }"
|
|
|
|
|
placeholder="Selecione o vendedor que indicou o parceiro..."
|
|
|
|
|
(selectionChange)="selectSeller($event)"
|
|
|
|
|
>
|
|
|
|
|
<kendo-combobox textField="name" valueField="sellerId" formControlName="seller" [data]="sellers$ | async"
|
|
|
|
|
[kendoDropDownFilter]="{ operator: 'contains' }" placeholder="Selecione o vendedor que indicou o parceiro..."
|
|
|
|
|
(selectionChange)="selectSeller($event)">
|
|
|
|
|
</kendo-combobox>
|
|
|
|
|
</label>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
@@ -379,16 +236,9 @@
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>Categoria</span>
|
|
|
|
|
<kendo-combobox
|
|
|
|
|
textField="name"
|
|
|
|
|
valueField="id"
|
|
|
|
|
formControlName="category"
|
|
|
|
|
[data]="filterCategoryPartners"
|
|
|
|
|
[itemDisabled]="categoryDisabled"
|
|
|
|
|
[kendoDropDownFilter]="{ operator: 'contains' }"
|
|
|
|
|
placeholder="Selecione a categoria do parceiro..."
|
|
|
|
|
(selectionChange)="selectCategory($event)"
|
|
|
|
|
>
|
|
|
|
|
<kendo-combobox textField="name" valueField="id" formControlName="category" [data]="filterCategoryPartners"
|
|
|
|
|
[itemDisabled]="categoryDisabled" [kendoDropDownFilter]="{ operator: 'contains' }"
|
|
|
|
|
placeholder="Selecione a categoria do parceiro..." (selectionChange)="selectCategory($event)">
|
|
|
|
|
</kendo-combobox>
|
|
|
|
|
</label>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
@@ -398,12 +248,7 @@
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>Cep</span>
|
|
|
|
|
<kendo-textbox
|
|
|
|
|
formControlName="zipCode"
|
|
|
|
|
[clearButton]="true"
|
|
|
|
|
#zipCode
|
|
|
|
|
(blur)="consultaCep()"
|
|
|
|
|
></kendo-textbox>
|
|
|
|
|
<kendo-textbox formControlName="zipCode" [clearButton]="true" #zipCode (blur)="consultaCep()"></kendo-textbox>
|
|
|
|
|
</label>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
|
|
|
|
|
@@ -417,11 +262,7 @@
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>Número</span>
|
|
|
|
|
<kendo-textbox
|
|
|
|
|
formControlName="number"
|
|
|
|
|
[clearButton]="true"
|
|
|
|
|
#number
|
|
|
|
|
></kendo-textbox>
|
|
|
|
|
<kendo-textbox formControlName="number" [clearButton]="true" #number></kendo-textbox>
|
|
|
|
|
</label>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
|
|
|
|
|
@@ -456,20 +297,12 @@
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>Praça</span>
|
|
|
|
|
<kendo-combobox
|
|
|
|
|
[data]="places$ | async"
|
|
|
|
|
formControlName="place"
|
|
|
|
|
[kendoDropDownFilter]="{ operator: 'contains' }"
|
|
|
|
|
textField="name"
|
|
|
|
|
valueField="id"
|
|
|
|
|
(selectionChange)="selectPlace($event)"
|
|
|
|
|
placeholder="Selecione a praça do parceiro..."
|
|
|
|
|
>
|
|
|
|
|
<kendo-combobox [data]="places$ | async" formControlName="place"
|
|
|
|
|
[kendoDropDownFilter]="{ operator: 'contains' }" textField="name" valueField="id"
|
|
|
|
|
(selectionChange)="selectPlace($event)" placeholder="Selecione a praça do parceiro...">
|
|
|
|
|
</kendo-combobox>
|
|
|
|
|
</label>
|
|
|
|
|
<kendo-formerror
|
|
|
|
|
>Erro: É obrigatório informar a praça do cliente</kendo-formerror
|
|
|
|
|
>
|
|
|
|
|
<kendo-formerror>Erro: É obrigatório informar a praça do cliente</kendo-formerror>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
|
|
|
|
|
<h4 class="my-3">DADOS BANCÁRIOS</h4>
|
|
|
|
|
@@ -478,12 +311,7 @@
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>Banco</span>
|
|
|
|
|
<kendo-textbox
|
|
|
|
|
formControlName="bank"
|
|
|
|
|
[clearButton]="true"
|
|
|
|
|
#bank
|
|
|
|
|
required
|
|
|
|
|
></kendo-textbox>
|
|
|
|
|
<kendo-textbox formControlName="bank" [clearButton]="true" #bank required></kendo-textbox>
|
|
|
|
|
</label>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -491,12 +319,7 @@
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>Agencia</span>
|
|
|
|
|
<kendo-textbox
|
|
|
|
|
formControlName="agencia"
|
|
|
|
|
[clearButton]="true"
|
|
|
|
|
#agencia
|
|
|
|
|
required
|
|
|
|
|
></kendo-textbox>
|
|
|
|
|
<kendo-textbox formControlName="agencia" [clearButton]="true" #agencia required></kendo-textbox>
|
|
|
|
|
</label>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -504,12 +327,7 @@
|
|
|
|
|
<kendo-formfield>
|
|
|
|
|
<label>
|
|
|
|
|
<span>Conta</span>
|
|
|
|
|
<kendo-textbox
|
|
|
|
|
formControlName="conta"
|
|
|
|
|
[clearButton]="true"
|
|
|
|
|
#conta
|
|
|
|
|
required
|
|
|
|
|
></kendo-textbox>
|
|
|
|
|
<kendo-textbox formControlName="conta" [clearButton]="true" #conta required></kendo-textbox>
|
|
|
|
|
</label>
|
|
|
|
|
</kendo-formfield>
|
|
|
|
|
</div>
|
|
|
|
|
@@ -524,15 +342,10 @@
|
|
|
|
|
<input formControlName="observer2" kendoTextBox #observer2 />
|
|
|
|
|
</label>
|
|
|
|
|
<div class="k-form-buttons">
|
|
|
|
|
<button
|
|
|
|
|
kendoButton
|
|
|
|
|
themeColor="primary"
|
|
|
|
|
(click)="submitForm()"
|
|
|
|
|
[disabled]="!formPartner.valid"
|
|
|
|
|
>
|
|
|
|
|
<button kendoButton themeColor="primary" (click)="submitForm()" [disabled]="!formPartner.valid">
|
|
|
|
|
Salvar
|
|
|
|
|
</button>
|
|
|
|
|
<button kendoButton (click)="clearForm()">Cancelar</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</kendo-window>
|
|
|
|
|
</kendo-window>
|