New Leave Type





Label
Code
Code
  • Its unique reference of Leave Type.
  • Its a Mandatory input field.
  • Allowed only Alphanumeric.
  • Other special characters are not allow.
  • Copy & paste not allow.
  • Duplicate not allow.
  • Edit Code not allow in future, so do carefully.
Leave Type
LeaveType
  • Its a different types of leave.
  • Its a Mandatory input field.
  • Allowed Alphabets and Space.
  • Other special characters are not allow.
  • Copy & paste not allow.
  • Duplicate not allow.
Remarks
Remarks
  • Non-mandatory inputs.
  • Allowed only alphanumeric.
  • Space and @#%^&*()_-+=:;/?.>,< special characters are allow.
  • Copy & paste not allow.

Edit Leave Type



Label
Code
Code
  • Its unique reference of Leave Type.
  • Its a view only not editable.
Leave Type
LeaveType
  • If edit Leave type here change and update.
  • Its a Mandatory input field.
  • Allowed Alphabets and Space.
  • Other special characters are not allow.
  • Copy & paste not allow.
  • Duplicate not allow.
Status
Status
  • Status is Particular service or Some thing currentry active or Deactive.
  • Select reqired one.
  • Its a Mandatory input field.
Remarks
Remarks
  • Non-mandatory inputs.
  • Allowed only alphanumeric.
  • Space and @#%^&*()_-+=:;/?.>,< special characters are allow.
  • Copy & paste not allow.

View Leave Type



Delete Leave Type





Leave Types List



Webservice

Get List

url: webservice.php?action=l&method=macltl
{"status":"success",
                            "data":[{"ID":"c81e728d9d4c2f636f067f89cc14862c",
                            "Code":"ytu",
                            "LeaveType":"yu",
                            "Remarks":"",
                            "Status":1,
                            "CreatedOn":"2024-10-22 16:01:29"},
                            {"ID":"c9f0f895fb98ab9159f51fd0297e236d",
                            "Code":"1111",
                            "LeaveType":"Leavetype",
                            "Remarks":"zzz",
                            "Status":1,
                            "CreatedOn":"2024-12-11 12:12:05"}]}
                            
{"status":"failure","message":"data not found}

Add New

url: webservice.php?action=a&method=macltl
Input
                             Code=123
                             LeaveType=Perdonal
                             Remarks=leave type
                             
{"status":"success","message":"Successfuly created","div":""}
{"status":"failure","message":"Already Exists","div":"LeaveType"}

Get Data

url: webservice.php?action=g&method=macltl&ID=d3d9446802a44259755d38e6d163e820
{"status":"success",
                            "data":[{"ID":"d3d9446802a44259755d38e6d163e820",
                            "LeaveType":"Perdonal",
                            "Remarks":"leave type",
                            "Status":1,
                            "Code":"123",
                            "CreatedOn":"2024-12-27 21:37:11"}]}
                            

Update

url: webservice.php?action=u&method=macltl
Input
                           ID=d3d9446802a44259755d38e6d163e820
                           LeaveType=Sick leave
                           Status=1
                           Remarks=leave type
                            
{"status":"success","message":"Updated successfully","div":""}
{"status":"failure","message":"unable to update","div":""}

Delete

url: webservice.php?action=r&method=macltl
Input
delID=d3d9446802a44259755d38e6d163e820
{"status":"success","message":"Deleted sucessfully"}