function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Lokesh Rayapati4Lokesh Rayapati4 

Make a lightning quick action for a employee to apply leave

Hi,

I'm new to Aura components. I'm trying to build a lightning quick action for a employee to apply leave. Employee should be able to apply leave in 3 categories casual, privileged and medical, and if he has none of the leaves left in that type it should be added to leaves without pay.He can apply for full day, half day and mixed leave.

Also if a holiday is coming in between the date he has applied  for leave that no of days should be deducted from the total no of days he has applied for leave. Make a custom setting to mark name of week you give your weekly holidays example: sunday, monday  or saturday sunday. please help me in this.

Thanks in advance.


For eg if a person applied leave from friday to monday then only 2 days of full leave should be counted . i.e friday and monday.
 
The leave record should also be saved in a object and the quick action should be on contact record page
PriyaPriya (Salesforce Developers) 

Hi Lokesh,


May I suggest you please refer the below link for reference from app exchange.
https://appexchange.salesforce.com/listingDetail?listingId=a0N300000016aVIEAY
https://appexchange.salesforce.com/listingDetail?listingId=a0N30000005uqk2EAA

Hope it helps.

Please mark it as best answer if the information is informative.

Thanks

Priya Ranjan