Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <vex-page-layout>
- <vex-secondary-toolbar current="Kredit Tiga Pilar" route="/uji-tuntas/proses-uji-tuntas/pelaksanaan-uji-tuntas/pemeriksaan-laporan-kredit/laporan-kredit/detail/10190/pilar">
- <vex-breadcrumbs [crumbs]="crumbsValue"
- class="flex-auto">
- </vex-breadcrumbs>
- </vex-secondary-toolbar>
- <vex-page-layout-content>
- <!-- Informasi saja -->
- <div class="my-2">
- <div class="card overflow-auto px-6 py-4" fxLayout="column">
- <div fxFlex="100" fxLayout="column" class="mb-6" fxLayoutAlign="start">
- <label><h3>Informasi Pemeriksa</h3></label>
- <mat-divider class="-mx-2 text-border"></mat-divider>
- <div fxFlex="100" fxLayout="row" class="mt-2">
- <div fxFlex="50" fxLayout="column">
- <div *ngFor="let list of listPemeriksaan; let i = index">
- <div *ngIf="i < 2" fxLayout="row" fxFlex="100">
- <div fxFlex="38">{{list.name}}</div>
- <div fxFlex="2">:</div>
- <div fxFlex="60" *ngIf=" list.name != 'Posisi Pemeriksa'">{{list.value}}</div>
- <div fxFlex="60" *ngIf=" list.name == 'Posisi Pemeriksa'">{{list.value | date:'longDate'}}</div>
- </div>
- </div>
- </div>
- <div fxFlex="100" fxLayout="column">
- <div *ngFor="let list of listPemeriksaan; let i = index">
- <div *ngIf="i > 1" fxLayout="row" fxFlex="100">
- <div fxFlex="38">{{list.name}}</div>
- <div fxFlex="2">:</div>
- <div fxFlex="60" *ngIf=" list.name != 'Posisi Pemeriksa'">{{list.value}}</div>
- <div fxFlex="60" *ngIf=" list.name == 'Posisi Pemeriksa'">{{list.value | date:'longDate'}}</div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div fxFlex="100" fxLayout="column" class="mb-3">
- <label><h3>Informasi Nasabah</h3></label>
- <mat-divider class="-mx-2 text-border"></mat-divider>
- <div fxFlex="100" fxLayout="row" class="mt-2">
- <div fxFlex="50" fxLayout="column">
- <div *ngFor="let list of listNasabah; let i = index">
- <div *ngIf="i < 3" fxLayout="row" fxFlex="100">
- <div fxFlex="38">{{list.name}}</div>
- <div fxFlex="2">:</div>
- <div fxFlex="60" *ngIf=" list.name !== 'Nama Nasabah'">{{list.value | parenthesis}}</div>
- <div fxFlex="60" *ngIf=" list.name === 'Nama Nasabah'">{{list.value}}</div>
- </div>
- </div>
- </div>
- <div fxFlex="100" fxLayout="column">
- <div *ngFor="let list of listNasabah; let i = index">
- <div *ngIf="i > 2" fxLayout="row" fxFlex="100">
- <div fxFlex="38">{{list.name}}</div>
- <div fxFlex="2">:</div>
- <div fxFlex="60" *ngIf=" list.name !== 'DPD (hari)'">{{list.value | parenthesis}}</div>
- <div fxFlex="60" *ngIf=" list.name === 'DPD (hari)'">{{list.value}}</div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <form [formGroup]="informasiNasabahFormGroup">
- <div fxFlex="100" fxLayout="row" class="mb-4">
- <div fxFlex="50" fxLayout="column" fxLayoutAlign="start" class="mr-2">
- <label><b>Group (One Obligor)</b></label>
- <div fxFlex="100" fxLayout="column" class="mt-2">
- <div fxFlex="50" fxLayout="column">
- <div fxLayout="row" fxFlex="100">
- <div fxFlex="40" fxLayoutAlign="start center">Nasabah bergerak di bidang</div>
- <div fxFlex="60">
- <mat-form-field appearance="outline" class="flex-auto">
- <input matInput maxlength="255" formControlName="nasabahBergerakdiBidang">
- <mat-error *ngIf="informasiNasabahFormGroup.controls.nasabahBergerakdiBidang.hasError('required')">Wajib Diisi</mat-error>
- </mat-form-field>
- </div>
- </div>
- <div fxLayout="row" fxFlex="100">
- <div fxFlex="40" fxLayoutAlign="start center">Mulai beroperasi sejak</div>
- <div fxFlex="60">
- <mat-form-field appearance="outline" class="flex-auto">
- <input type="number" matInput maxlength="255" formControlName="mulaiBeroperasiSejak">
- <mat-error *ngIf="informasiNasabahFormGroup.controls.mulaiBeroperasiSejak.hasError('required')">Wajib Diisi</mat-error>
- </mat-form-field>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div fxFlex="100" fxLayout="column" fxLayoutAlign="start" class="mr-2">
- <label><b>Keterangan Usaha dan Riwayat Pembiayaan di Bank</b></label>
- <div fxFlex="100" fxLayout="column" class="mt-2">
- <div fxFlex="50" fxLayout="column">
- <div fxLayout="row" fxFlex="100">
- <div fxFlex="40" fxLayoutAlign="start center">Nasabah mendapatkan pembiayaan dari Bank sejak</div>
- <div fxFlex="60">
- <mat-form-field appearance="outline">
- <input matInput [matDatepicker]="nasabahMenPembiayaanBankSejak" formControlName="nasabahMenPembiayaanBankSejak">
- <mat-datepicker-toggle matSuffix [for]="nasabahMenPembiayaanBankSejak"></mat-datepicker-toggle>
- <mat-datepicker #nasabahMenPembiayaanBankSejak></mat-datepicker>
- <mat-error *ngIf="informasiNasabahFormGroup.controls.nasabahMenPembiayaanBankSejak.hasError('required')">Wajib Diisi</mat-error>
- </mat-form-field>
- </div>
- </div>
- <div fxLayout="row" fxFlex="100">
- <div fxFlex="40" fxLayoutAlign="start center">Dengan plafond awal</div>
- <div fxFlex="60">
- <mat-form-field appearance="outline" class="flex-auto">
- <input type="number" matInput maxlength="255" formControlName="denganPlafonAwal">
- <mat-error *ngIf="informasiNasabahFormGroup.controls.denganPlafonAwal.hasError('required')">Wajib Diisi</mat-error>
- </mat-form-field>
- </div>
- </div>
- <div fxLayout="row" fxFlex="100">
- <div fxFlex="40" fxLayoutAlign="start center">Pernah mendapatkan restruktur sebanyak</div>
- <div fxFlex="60">
- <mat-form-field appearance="outline" class="flex-auto">
- <input type="number" matInput maxlength="255" formControlName="pernahMenRestrukturSebanyak">
- <mat-error *ngIf="informasiNasabahFormGroup.controls.pernahMenRestrukturSebanyak.hasError('required')">Wajib Diisi</mat-error>
- </mat-form-field>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </form>
- <div fxFlex="100" fxLayoutAlign="end">
- <button class="ml-4 mt-2" color="primary" fxFlex="none" mat-raised-button matTooltip="Simpan" type="button" (click)="saveInformasiNasabah(false)" [disabled]="isSimpan">
- Simpan
- </button>
- </div>
- </div>
- </div>
- <div class="my-2">
- <div class="card overflow-auto px-6 py-4">
- <div>
- <div [formGroup]="formPenilaian">
- <p-table [value]="rowsPenilaian" [lazy]="true" #dt styleClass="p-datatable-md md-theme"
- responsiveLayout="scroll"
- [loading]="isLoading">
- <ng-template pTemplate="header">
- <tr>
- <th>Faktor Penilaian Kualitas Pembiayaan</th>
- <th>Kol Pemeriksa</th>
- <th>Catatan</th>
- <th>Dokumen Pendukung</th>
- </tr>
- </ng-template>
- <ng-template pTemplate="body" formArrayName="penilaianList">
- <tr *ngFor="let penilaian of listPenilaian.controls; let i = index">
- <td>
- <span>{{penilaian.value.faktorPenilaian}}</span>
- </td>
- <td [formGroup]="penilaian">
- <mat-form-field appearance="outline">
- <mat-select formControlName="kolPemeriksa" type="text" matInput required>
- <mat-option *ngFor="let data of listKolPemeriksa" [value]="data.id">{{data.name}}</mat-option>
- </mat-select>
- </mat-form-field>
- </td>
- <td [formGroup]="penilaian">
- <mat-form-field appearance="outline" class="mt-6 flex-auto">
- <mat-label>catatan</mat-label>
- <textarea matInput placeholder="catatan" formControlName="catatan"></textarea>
- </mat-form-field>
- </td>
- <td>
- <button (click)="upload(penilaian.value)" color="primary" mat-raised-button
- matTooltip="Upload" type="button" [disabled]="isSimpan">
- Upload
- </button>
- </td>
- </tr>
- </ng-template>
- </p-table>
- </div>
- </div>
- <div class="mt-2" fxLayout="row">
- <div fxFlex="100" fxLayoutAlign="end">
- <button class="ml-4 mt-2" color="primary" fxFlex="none" mat-raised-button matTooltip="Simpan" type="button" (click)="simpanPenilaian('update',false)" [disabled]="isSimpan">
- Simpan
- </button>
- </div>
- </div>
- <!-- <div>
- <p-table
- [value]="rows"
- dataKey="id"
- #dt
- styleClass="p-datatable-md md-theme"
- [columns]="columns"
- [lazy]="true"
- (onLazyLoad)="updatePage($event)"
- [loading]="isLoading"
- responsiveLayout="scroll"
- [responsive]="true"
- [paginator]="false"
- [rows]="pageSize"
- [showCurrentPageReport]="true">
- <ng-template pTemplate="header" let-columns>
- <tr>
- <th colspan="3"></th>
- <th colspan="4" class="text-center">Data Bank</th>
- <th colspan="5" class="text-center">Data Bank</th>
- <th colspan="2"></th>
- </tr>
- <tr>
- <th>No.</th>
- <th>No. CIF</th>
- <th>Nama Nasabah</th>
- <th>Kolektibilitas</th>
- <th>Plafond</th>
- <th>Baki Debet</th>
- <th>PPA/CKPN</th>
- <th>Kolektibilitas</th>
- <th>Plafond</th>
- <th>Baki Debet</th>
- <th>Nilai Agunan Pengurang PPA</th>
- <th>PPA/CKPN</th>
- <th>Nama Pemeriksa</th>
- <th>Action</th>
- </tr>
- </ng-template>
- <ng-template pTemplate="body" let-data let-rowData>
- <tr>
- <td>1</td>
- <td>01000010</td>
- <td>Abd Khadir</td>
- <td>2</td>
- <td>3</td>
- <td>4</td>
- <td>5</td>
- <td>
- <mat-form-field appearance="outline">
- <input matInput placeholder="Masukan Kolektibilitas">
- </mat-form-field>
- </td>
- <td>
- <mat-form-field appearance="outline">
- <input matInput placeholder="Masukan Plafond">
- </mat-form-field>
- </td>
- <td>
- <mat-form-field appearance="outline">
- <input matInput placeholder="Masukan Baki Debet">
- </mat-form-field>
- </td>
- <td>
- <mat-form-field appearance="outline">
- <input matInput placeholder="Masukan Nilai Agunan Pengurang PPA">
- </mat-form-field>
- </td>
- <td>
- <mat-form-field appearance="outline">
- <input matInput placeholder="Masukan PPA/CKPN">
- </mat-form-field>
- </td>
- <td>Septian</td>
- <td>
- <button color="primary" mat-raised-button matTooltip="Proses" type="button">
- Proses
- </button>
- </td>
- </tr>
- </ng-template>
- </p-table>
- </div> -->
- </div>
- </div>
- <div class="my-2">
- <div class="card overflow-auto px-6 py-4">
- <label class="mx-1">SUMMARY HASIL ANALISIS 3 PILAR DAN PENCADANGAN</label>
- <form [formGroup]="summaryFormGroup">
- <div fxLayout="row wrap" class="mt-4">
- <table class="w-full">
- <tr>
- <td>
- <mat-form-field appearance="outline">
- <mat-label>Kol Nasabah (Bank) (field kualitas)</mat-label>
- <input matInput placeholder="Masukan Kol Nasabah" formControlName="KolNasabahBankSummary">
- </mat-form-field>
- </td>
- <td>
- <mat-form-field appearance="outline">
- <mat-label>Plafond (Pemeriksa)</mat-label>
- <input type="number" min="0" matInput placeholder="Masukkan Plafond" formControlName="PlafonSummary">
- <mat-error *ngIf="summaryFormGroup.controls.PlafonSummary.hasError('required')">Plafon(pemeriksa) Wajib Diisi</mat-error>
- </mat-form-field>
- </td>
- <td>
- <mat-form-field appearance="outline">
- <mat-label>Baki Debet(Pemeriksa)</mat-label>
- <input type="number" min="0" matInput placeholder="Masukkan Baki Debet" formControlName="BakiDebetSummary" >
- <mat-error *ngIf="summaryFormGroup.controls.BakiDebetSummary.hasError('required')">Baki Debet(pemeriksa) Wajib Diisi</mat-error>
- </mat-form-field>
- </td>
- </tr>
- <tr>
- <td>
- <mat-form-field appearance="outline">
- <mat-label>Kol Nasabah (Pemeriksa)</mat-label>
- <!-- <input matInput placeholder="Masukan Kol Nasabah" formControlName="KolNasabahPemeriksaSummary"> -->
- <mat-select formControlName="KolNasabahPemeriksaSummary" type="number" matInput required>
- <mat-option [value]="'1'">1</mat-option>
- <mat-option [value]="'2'">2</mat-option>
- <mat-option [value]="'3'">3</mat-option>
- <mat-option [value]="'4'">4</mat-option>
- <mat-option [value]="'5'">5</mat-option>
- </mat-select>
- </mat-form-field>
- </td>
- <td>
- <mat-form-field appearance="outline">
- <mat-label>PPA (Bank)</mat-label>
- <input matInput placeholder="Masukkan PPA" formControlName="PPABankSummary">
- </mat-form-field>
- </td>
- <td>
- <mat-form-field appearance="outline">
- <mat-label>PPA (Pemeriksa)</mat-label>
- <input type="number" min="0" matInput placeholder="Masukkan PPA" formControlName="PPAPemeriksaSummary">
- <mat-error *ngIf="summaryFormGroup.controls.PPAPemeriksaSummary.hasError('required')">PPA(pemeriksa) Wajib Diisi</mat-error>
- </mat-form-field>
- </td>
- </tr>
- </table>
- </div>
- <mat-dialog-content class="px-6 py-4" fxLayout="column">
- <div fxFlex="50" class="mb-2 mt-2 ml-2">
- <div class="mb-2 text-secondary body-2">
- Catatan
- </div>
- <editor style="margin-bottom: 1.4375em;" appearance="outline" matInput formControlName="CatatanPemeriksaSummary" [init]="{
- base_url: '/tinymce',
- height: 300,
- plugins: [
- 'advlist autolink lists link image charmap print preview anchor',
- 'searchreplace visualblocks code fullscreen',
- 'insertdatetime media table paste code help wordcount'
- ],
- visual: false,
- toolbar: 'undo redo | formatselect | bold italic backcolor | \
- alignleft aligncenter alignright alignjustify | \
- bullist numlist outdent indent | removeformat | help'}">
- </editor>
- </div>
- <div fxLayoutAlign="end center" class="mr-5" fxLayoutGap="8px">
- </div>
- <div class="mb-5 mr-3" fxLayout="row" fxLayoutAlign="end center">
- <button *ngIf="!isSummarySaved" style="margin-bottom: 15px" color="primary" mat-raised-button matTooltip="Simpan" type="button" (click)="saveSummary(false)" [disabled]="isSimpan">
- Simpan
- </button>
- <button *ngIf="isSummarySaved" style="margin-bottom: 15px" color="primary" mat-raised-button matTooltip="Ubah" type="button" (click)="editSummary()" [disabled]="isSimpan">
- Ubah
- </button>
- </div>
- </mat-dialog-content>
- </form>
- </div>
- </div>
- <div class="my-2">
- <div class="card overflow-auto px-6 py-4" fxLayout="column">
- <div fxFlex="100" class="my-2">
- <button (click)="tambahInfoAgunan()" class="ml-4" color="primary" fxFlex="none" mat-raised-button matTooltip="Tambah Data" type="button" [disabled]="isSimpan">
- <mat-icon [icIcon]="icAdd"></mat-icon>
- Tambah
- </button>
- <button (click)="deleteAgunan()" color="warn" class="ml-2" mat-raised-button matTooltip="Hapus" type="button" [disabled]="isSimpan">
- <mat-icon style="font-size:24px" [icIcon]="icDelete"></mat-icon>
- Hapus
- </button>
- </div>
- <div>
- <p-table
- [value]="rowsInformasiAgunan"
- dataKey="id"
- #dt
- styleClass="p-datatable-gridlines md-theme"
- [columns]="columns"
- [lazy]="true"
- (onLazyLoad)="updatePage($event)"
- [loading]="isLoading"
- responsiveLayout="scroll"
- [responsive]="true"
- [paginator]="true"
- [rows]="pageSize"
- [showCurrentPageReport]="true"
- [totalRecords]="recordsTotal"
- currentPageReportTemplate="Showing {first} to {last} of {totalRecords} entries"
- [rowsPerPageOptions]="[5,10,25,50]">
- <ng-template pTemplate="header" let-columns>
- <tr>
- <th rowspan="3">
- <mat-checkbox color="primary" (change)= "checkUncheckAll(true)" formControlName="isCheckedAll"></mat-checkbox>
- </th>
- <th rowspan="3">Jenis Agunan</th>
- <th rowspan="3">Kategori Agunan</th>
- <th rowspan="3">Deskripsi Agunan</th>
- <th colspan="5" class="text-center">Penilaian Jaminan</th>
- <th colspan="3" class="text-center">Dokumen Jaminan dan Pengikatan</th>
- <th colspan="4" class="text-center">Asuransi Jaminan</th>
- <th colspan="5" class="text-center">Agunan Dapat Dijadikan Pengurangan PPA</th>
- <th rowspan="3">Nilai Agunan Yang Diakui</th>
- <th rowspan="3">Jk Waktu Penilaian</th>
- <th rowspan="3">Bobot Agunan</th>
- <th rowspan="3">Agunan Yang Dapat Digunakan Sebagai Pengurang PPA</th>
- <th rowspan="3">Action</th>
- </tr>
- <tr>
- <th>Nilai Pasar Jaminan</th>
- <th>Nilai Likuidasi Jaminan</th>
- <th>Pihak Penilai</th>
- <th>Tgl Penilaian</th>
- <th>Nama Penilai</th>
- <th>Jenis dan No.</th>
- <th>Jenis dan No.</th>
- <th>Jumlah</th>
- <th colspan="2">Asuransi</th>
- <th>Banker's Clause</th>
- <th>Jatuh Tempo</th>
- <th>Pihak Penilai</th>
- <th>Dok Kepemilikan</th>
- <th>Dok Pengikatan</th>
- <th>Asuransi</th>
- <th>Kesimpulan</th>
- </tr>
- <tr>
- <th>(Rp)</th>
- <th>(Rp)</th>
- <th>(Independen/Internal)</th>
- <th>DD-MMM-YY</th>
- <th>(KJPP/Internal)</th>
- <th>Dokumen Kepemilikan Jaminan</th>
- <th>Pengikatan Jaminan</th>
- <th>Pengikatan</th>
- <th>(Ya/Tidak)</th>
- <th>Penjamin</th>
- <th>(Ya/Tidak)</th>
- <th>Asuransi</th>
- <th>(Ya/Tidak)</th>
- <th>(Ya/Tidak)</th>
- <th>(Ya/Tidak)</th>
- <th>(Ya/Tidak)</th>
- <th>(Ya/Tidak)</th>
- </tr>
- </ng-template>
- <ng-template pTemplate="body" let-data let-dataInformasi>
- <tr>
- <td style="width: 3rem">
- <mat-checkbox color="primary" [checked]="data.sampling" (change)="checkboxSelected($event,data.id)"></mat-checkbox>
- </td>
- <!-- <td>{{i + 1}}</td>
- <td>
- <mat-form-field appearance="outline" class="mt-6 flex-auto">
- <input matInput placeholder="">
- </mat-form-field>
- </td> -->
- <td>{{dataInformasi.jenisAgunan}}</td>
- <td>{{dataInformasi.kategoriAgunan}}</td>
- <td>{{dataInformasi.deskripsiAgunan}}</td>
- <td>{{dataInformasi.nilaiPasarJaminan | parenthesis}}</td>
- <td>{{dataInformasi.nilaiLikuidasiJaminan | parenthesis}}</td>
- <td>{{dataInformasi.pihakPenilai}}</td>
- <td>{{dataInformasi.tanggalPenilai | date: 'mediumDate'}}</td>
- <td>{{dataInformasi.namaPenilai}}</td>
- <td>{{dataInformasi.dokumenKepemilikanJaminan}}</td>
- <td>{{dataInformasi.pengikatanJaminan}}</td>
- <td>{{dataInformasi.jumlahPengikatan | parenthesis}}</td>
- <td *ngIf="dataInformasi.isAsuransiJaminan == true">Ya</td>
- <td *ngIf="dataInformasi.isAsuransiJaminan == false">Tidak</td>
- <td>{{dataInformasi.penjaminAsuransi}}</td>
- <td *ngIf="dataInformasi.isBanker == true">Ya</td>
- <td *ngIf="dataInformasi.isBanker == false">Tidak</td>
- <td>{{dataInformasi.jatuhTempoAsuransi | date: 'mediumDate'}}</td>
- <td *ngIf="dataInformasi.isPihakPenilai == true">Ya</td>
- <td *ngIf="dataInformasi.isPihakPenilai == false">Tidak</td>
- <td>{{dataInformasi.dokKepemilikan}}</td>
- <td>{{dataInformasi.dokPengikat}}</td>
- <td *ngIf="dataInformasi.isAsuransiPPA == true">Ya</td>
- <td *ngIf="dataInformasi.isAsuransiPPA == false">Tidak</td>
- <td *ngIf="dataInformasi.isKesimpulan == true">Ya</td>
- <td *ngIf="dataInformasi.isKesimpulan == false">Tidak</td>
- <td>{{dataInformasi.nilaiAgunanYgDiAkui}}</td>
- <td>{{dataInformasi.jangkaWaktuPenilaian}}</td>
- <td>{{dataInformasi.bobotAgunan}}</td>
- <td>{{dataInformasi.agunanPengurangPPA}}</td>
- <td>
- <button (click)="editInfoAgunan(dataInformasi.id)" class="ml-4" color="primary" fxFlex="none"
- mat-raised-button matTooltip="Edit Data" type="button" [disabled]="isSimpan">Edit
- </button>
- </td>
- </tr>
- </ng-template>
- <ng-template pTemplate="footer" let-columns>
- <tr>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th></th>
- <th>
- <div>TOTAL:{{totalNilaiagunan}}</div>
- </th>
- <th></th>
- <th></th>
- <th>
- <div>TOTAL:{{totalPPA}}</div>
- </th>
- <!-- <ng-container *ngIf="rows?.length > 0" >
- <ng-container *ngFor="let total of total">
- <th *ngFor="let col of bankColumns">
- <span style="white-space: nowrap;">{{ total[col.total] }}</span>
- </th>
- </ng-container>
- </ng-container>
- <th></th>
- <th></th>
- <th></th> -->
- </tr>
- </ng-template>
- </p-table>
- </div>
- <div fxFlex="100" fxLayoutAlign="end">
- <button class="ml-4 mt-2" color="primary" fxFlex="none" mat-raised-button matTooltip="Kirim" type="button" (click)="submit()" [disabled]="isSimpan">
- Kirim
- </button>
- </div>
- </div>
- </div>
- </vex-page-layout-content>
- </vex-page-layout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement