Project

General

Profile

Bug #434

[MOBILE][ESS - LEAVE] pengajuan cuti quota nya 0 namun sudah di isikan quota 12 pada master time data leave

Added by Muhammad Bintar over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Urgent
Start date:
07/26/2021
Due date:
07/28/2021
% Done:

0%

Estimated time:

Description

Dear tim developer, mohon support nya untuk perbaikan pada ESS Leave di mobile dimana pada saat mengajukan ess leave, quota yang available dihitung 0 dan remaining quota 0 padahal isi nya quota sudah terisi 12 pada master data time data.

sample employee 00000363

pada time data absence quota sudah diisi quota 12

pengecekan pada ess leave di minova desktop

problem nya adalah di mobile


Files

clipboard-202107261130-56yls.png (99.2 KB) clipboard-202107261130-56yls.png Muhammad Bintar, 07/26/2021 11:30 AM
clipboard-202107261131-v78dz.png (84.5 KB) clipboard-202107261131-v78dz.png Muhammad Bintar, 07/26/2021 11:31 AM
clipboard-202107261131-sj20p.png (36.6 KB) clipboard-202107261131-sj20p.png Muhammad Bintar, 07/26/2021 11:31 AM
bdc330c2-184e-4bb3-8145-cf7aeb77db11.jpg (34.5 KB) bdc330c2-184e-4bb3-8145-cf7aeb77db11.jpg Muhammad Bintar, 08/03/2021 03:22 PM
#1

Updated by Kezia Pawitra Yulianti over 3 years ago

  • Status changed from New to Assigned
  • Assignee changed from Saswanto Tampan to Alip Sudin
#2

Updated by Kezia Pawitra Yulianti over 3 years ago

  • Assignee changed from Alip Sudin to Saswanto Tampan
#3

Updated by Muhammad Bintar over 3 years ago

  • Status changed from Assigned to Developing

ikuti step nya
setelah semua selesai pastikan meminta update API MOBILE beda juga client beda API

features hide and show origin and remaining value dinamis by setup table
features limit attachment include popup and button remaining dinamis by setup table

STEP 1
ALTER TABLE SMENUMOBILE ADD MaxAttachmentKb varchar(100) DEFAULT '0'

STEP 2
UPDATE SMENUMOBILE SET MaxAttachmentKb ='500'
-satuan ukuran dalam KB = 500 KB
-formay file yang didukung jpg/pdf

STEP 3
ALTER TABLE PHRTMABSTYP ADD OriginalQuotaVisible varchar(2) DEFAULT '1',RemainQuotaVisible varchar(2) DEFAULT '1'

STEP 4
UPDATE PHRTMABSTYP SET OriginalQuotaVisible ='1' ,RemainQuotaVisible='1'
Nilai 1 = visible
Nilai 0 = Hide

STEP 5

CREATE PROCEDURE [api].[GetDataGetAbsenType] --@Email VARCHAR
@EmployeeID VARCHAR='',
@StartDeduction VARCHAR='',
@EndDeduction VARCHAR='',
@MenuId VARCHAR=''
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;

SELECT tabsence.AbsenceType ,
tabsence.AbsenceTypeDesc ,
tquota.AbsenceQuotaType ,
tabsence.QuotaDeduction ,
tabsence.OriginalQuotaVisible ,
tabsence.RemainQuotaVisible
INTO #final
FROM dbo.PHRTMABSTYP AS tabsence
LEFT JOIN dbo.PHRTMQUOTYP AS tquota ON tquota.AbsenceQuotaType = tabsence.AbsenceQuotaType
WHERE tabsence.QuotaDeduction = 'N'
UNION
SELECT tabsence.AbsenceType ,
tabsence.AbsenceTypeDesc ,
tquota.AbsenceQuotaType ,
tabsence.QuotaDeduction ,
tabsence.OriginalQuotaVisible ,
tabsence.RemainQuotaVisible
FROM dbo.PHRTMABSTYP AS tabsence
LEFT JOIN dbo.PHRTMQUOTYP AS tquota ON tquota.AbsenceQuotaType = tabsence.AbsenceQuotaType
RIGHT JOIN dbo.PHRPA0017 AS md17 ON md17.AbsenceQuotaType = tabsence.AbsenceQuotaType
AND md17.EmployeeID = @EmployeeID
AND md17.StartDeduction <= @StartDeduction
AND md17.EndDeduction >= @EndDeduction
WHERE tabsence.QuotaDeduction = 'Y'
UNION
SELECT AbsenceType ,
AbsenceTypeDesc ,
AbsenceQuotaType ,
QuotaDeduction ,
OriginalQuotaVisible ,
RemainQuotaVisible
FROM   dbo.PHRTMABSTYP
WHERE AbsenceType IN ( SELECT Value1
FROM dbo.PCMEPGENPARAM
WHERE Parameter = 'ESSABSTYP' )

SELECT *,CONVERT AS MaxAttachmentKb INTO #beginer FROM #final

IF @MenuId = ''
BEGIN
UPDATE #beginer SET MaxAttachmentKb =a.MaxAttachmentKb from(
SELECT TOP (1) MaxAttachmentKb FROM SMENUMOBILE )a
end

IF @MenuId <> ''
begin
UPDATE #beginer SET MaxAttachmentKb =a.MaxAttachmentKb from(
SELECT MaxAttachmentKb FROM SMENUMOBILE WHERE MenuId='LEAVE')a
end

SELECT * FROM #beginer
DROP TABLE #beginer
DROP TABLE #final
END;

#4

Updated by Muhammad Bintar over 3 years ago

sudah diupdate dan sudah tampil indikator cuti nya

#5

Updated by Muhammad Bintar over 3 years ago

  • Status changed from QA Test to Deploy
#6

Updated by Muhammad Bintar over 3 years ago

  • Status changed from Deploy to Closed

Also available in: Atom PDF