[{"role":"user","content":"How to apply leave?"},{"role":"assistant","content":"To apply for leave through the portal, follow these steps:\n\n### 1. Access the Apply Leave Form\n1. Expand the **My Leave** tab on the sidebar.\n2. Select **New Leave** from the dropdown.\n3. Click the **Apply Leave** button at the top of the page.\n\n### 2. Fill in the Leave Application Form\n1. **Verify Details:** Your ID, Name, Department, and Date fields are automatically filled.\n2. **Select Leave Type:** Use the dropdown menu to choose the type of leave.\n3. **Choose Dates:** Use the date widget to select your start and end dates. (If it is a one-day leave, select the same date twice).\n4. **Days Calculation:** The system will automatically calculate the number of days.\n5. **Resume Date:** Fill in your expected return-to-work date.\n6. **Attachments & Remarks:** Attach any relevant documents and add notes if needed.\n\n### 3. Add Travel\/Accommodation (Optional)\n* **Flight Tickets:** Click **Show** next to the Ticket header to enter flight types (LTA, Personal, or Official), dates, airports, and class. Use the green **+** or red **-** icons to manage flights.\n* **Hotels:** Click **Show** next to the Hotel header to enter hotel names, check-in\/out dates, and number of rooms.\n\n### 4. Submit Your Application\n1. Click the **Save** (green button) at the bottom of the form.\n2. On the next screen, click the **Submit** button to finalize your application. (If you need to start over, you can use the **Reset** red button).","usage":{"input_tokens":895,"output_tokens":365}}]