Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.adminPeriodeGajiService.search({ salaryDate : this.inputForm.value.tglMutasi })
- .pipe(takeUntil(this.ngUnsubscribe))
- .subscribe(
- (result) => {
- this.penggajianForm.patchValue({
- bulanBerlaku : result.data[0].yearMonth
- });
- this.employeeSalaryService.search({ employeeId : this.karyawan.id, beginDate: this.inputForm.value.tglMutasi }).subscribe(
- (salaries) => {
- this.penggajianForm.patchValue({
- oldGaji: result.data[0].basicSalary,
- gaji : result.data[0].basicSalary
- });
- }
- );
- // Service lain nya disini jg
- },
- (error) => {
- this.uiBlockService.hideUiBlock();
- this.contentAlertService.error(error.errors);
- },
- () => { this.uiBlockService.hideUiBlock(); }
- );
Advertisement
Add Comment
Please, Sign In to add comment