<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>aadmin &#8211; 4SEWA</title>
	<atom:link href="https://4sewa.com/author/aadmin/feed/" rel="self" type="application/rss+xml" />
	<link>https://4sewa.com</link>
	<description>Nepali eCommerce Platform</description>
	<lastBuildDate>Tue, 25 Jun 2024 03:38:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>python test</title>
		<link>https://4sewa.com/2024/06/25/python-test/</link>
					<comments>https://4sewa.com/2024/06/25/python-test/#respond</comments>
		
		<dc:creator><![CDATA[aadmin]]></dc:creator>
		<pubDate>Tue, 25 Jun 2024 03:38:32 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://4sewa.com/?p=77</guid>

					<description><![CDATA[Leave Application Generator Leave Application Generator Name: Department: Leave Type: Sick LeaveCasual LeaveMaternity LeaveBereavement Leave Start Date: End Date: Reason: Generated Leave Application Letter:]]></description>
										<content:encoded><![CDATA[<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Leave Application Generator</title>
</head>
<body>
    <h1>Leave Application Generator</h1>
    <form id="leaveForm">
        <label for="name">Name:</label><br>
        <input type="text" id="name" name="name" required><br><br>
        
        <label for="department">Department:</label><br>
        <input type="text" id="department" name="department" required><br><br>
        
        <label for="leave_type">Leave Type:</label><br>
        <select id="leave_type" name="leave_type" required>
            <option value="sick leave">Sick Leave</option>
            <option value="casual leave">Casual Leave</option>
            <option value="maternity leave">Maternity Leave</option>
            <option value="bereavement leave">Bereavement Leave</option>
        </select><br><br>
        
        <label for="start_date">Start Date:</label><br>
        <input type="date" id="start_date" name="start_date" required><br><br>
        
        <label for="end_date">End Date:</label><br>
        <input type="date" id="end_date" name="end_date" required><br><br>
        
        <label for="reason">Reason:</label><br>
        <textarea id="reason" name="reason" rows="4" cols="50" required></textarea><br><br>
        
        <input type="button" value="Generate Letter" onclick="generateLetter()">
    </form>
    
    <h2>Generated Leave Application Letter:</h2>
    <pre id="letterOutput"></pre>

    <script>
        function generateLetter() {
            const name = document.getElementById('name').value;
            const department = document.getElementById('department').value;
            const leaveType = document.getElementById('leave_type').value;
            const startDate = document.getElementById('start_date').value;
            const endDate = document.getElementById('end_date').value;
            const reason = document.getElementById('reason').value;

            let letter = '';
            switch (leaveType) {
                case 'sick leave':
                    letter = `
Dear [Manager's Name],

I am writing to inform you that I am feeling unwell and will not be able to attend work from ${startDate} to ${endDate}. I have been advised by my doctor to take rest and recover from my illness. Therefore, I request you to kindly grant me sick leave for the mentioned period.

I will ensure that all my pending tasks are completed before I leave and I am available on phone or email for any urgent queries.

Thank you for your understanding.

Yours sincerely,
${name}
${department}
                    `;
                    break;
                case 'casual leave':
                    letter = `
Dear [Manager's Name],

I am writing to request casual leave from ${startDate} to ${endDate}. I need this leave to attend to some personal matters which require my immediate attention. I have ensured that all my responsibilities are covered during my absence.

I would be grateful if you could approve my leave request for the mentioned period.

Thank you.

Yours sincerely,
${name}
${department}
                    `;
                    break;
                case 'maternity leave':
                    letter = `
Dear [Manager's Name],

I am writing to formally request maternity leave from ${startDate} to ${endDate}. As I am approaching my due date, I would like to take time off to prepare for the arrival of my baby and to recover post-delivery.

I have discussed this with my team and have made arrangements for the delegation of my responsibilities during my absence. I would greatly appreciate your approval for my maternity leave.

Thank you for your support.

Yours sincerely,
${name}
${department}
                    `;
                    break;
                case 'bereavement leave':
                    letter = `
Dear [Manager's Name],

I am deeply saddened to inform you about the passing of my [relationship], and I need to take bereavement leave to attend the funeral and support my family during this difficult time. I request leave from ${startDate} to ${endDate}.

Your understanding and support during this time would be greatly appreciated.

Thank you.

Yours sincerely,
${name}
${department}
                    `;
                    break;
                default:
                    letter = 'Invalid leave type';
                    break;
            }

            document.getElementById('letterOutput').textContent = letter;
        }
    </script>
</body>
</html>]]></content:encoded>
					
					<wfw:commentRss>https://4sewa.com/2024/06/25/python-test/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Hello world!</title>
		<link>https://4sewa.com/2024/05/12/hello-world/</link>
					<comments>https://4sewa.com/2024/05/12/hello-world/#comments</comments>
		
		<dc:creator><![CDATA[aadmin]]></dc:creator>
		<pubDate>Sun, 12 May 2024 03:37:25 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://4sewa.com/?p=1</guid>

					<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start writing!]]></description>
										<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start writing!</p>]]></content:encoded>
					
					<wfw:commentRss>https://4sewa.com/2024/05/12/hello-world/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
