fsfe-website/internal/pd.en.xhtml

177 lines
8.7 KiB
HTML

<?xml version="1.0" encoding="utf-8" ?>
<html>
<head>
<title>FSFE - Internal Tools - per diem calculator</title>
<style type="text/css">
tr.descr {
font-style: italic;
font-size: small;
}
#content input[type="radio"] {
margin: 0 5px 0 15px;
}
label {
font-weight: normal;
margin-left: 5px;
}
</style>
</head>
<body>
<!-- Originally coded by Max Mehl <max.mehl [at] fsfe [dot] org> for FSFE e.V. -->
<h1>Calculate per diem charges (VKP)</h1>
<p>Using this form you can calculate the amount of money you can claim as
reimbursement when travelling as FSFE staff. With the checkboxes of the
left column you can add a day in you calculation; the unchecked days will
be ignored. For your travelled days you can mark which meal you paid with
your own money; per default the calculator assumes you paid all meals
yourself, so you will have to uncheck those meals which FSFE paid for, e.g.
by paying the hotel room incl. breakfast.</p>
<p>The outward and return travel day are calculated with a reduced per diem
amount, according to the legislation of your residence (currently Sweden
and Germany are pre-defined). Please make sure that you know whether a
certain day counts as half/travel or full day.</p>
<form action="/cgi-bin/perdiem.php" method="post">
<h2>1. Select your own country</h2>
<!-- if you add new countries, the respective settings have to be set in PHP file -->
<input type="radio" id="home-de" name="home" value="de" checked="checked" /><label for="home-de"> Germany</label>
<input type="radio" id="home-se" name="home" value="se" /><label for="home-se"> Sweden</label><br />
<input type="radio" id="home-other" name="home" value="other" />Other <input type="text" name="home_other" placeholder="€/0.2/0.4/0.4/0" /><label>(Other: currency and percentage rates: currency/breakfast/lunch/dinner/flat (e.g. "€/0.2/0.4/0.4/0" for Germany). If <em>Other</em> is selected, you'll have to set the values in step 2 manually)</label>
<h2>2. Select the destination country</h2>
<!-- you can add new countries. For the individual amounts, set value="CC=$travel/$full,[...]" -->
<input type="radio" id="dest-de" name="dest" value="de=12/24,se=314.5/629" checked="checked" /><label for="dest-de"> Germany</label>
<input type="radio" id="dest-be" name="dest" value="de=28/42,se=344/688" /><label for="dest-be"> Belgium</label><br />
<input type="radio" id="dest-other" name="dest" value="other" />Other <input type="text" name="dest_other" placeholder="12/24" /><label>(Other: per diem travel/full (e.g. "12/24" for Germany -> Germany))</label>
<h2>3. Which meal did you pay yourself?</h2>
<table class="table table-striped">
<tr>
<th>Use</th>
<th>Date</th>
<th>Breakfast</th>
<th>Lunch</th>
<th>Dinner</th>
</tr>
<tr class="descr">
<td>Calculate this day</td>
<td>Name the day (e.g. by date) <br />Leave blank to autoname them</td>
<td>Did you pay this meal yourself?</td>
<td>Did you pay this meal yourself?</td>
<td>Did you pay this meal yourself?</td>
</tr>
<tr>
<td colspan="5"><strong>Outward travel day (or if you travelled only one day)</strong></td>
</tr>
<tr class="descr">
<td colspan="5">Please be aware of when a day counts as travel or full day!</td>
</tr>
<tr>
<td><input type="checkbox" name="use[out]" value="yes" checked="checked" /></td>
<td><input type="date" name="date[out]" /></td>
<td><input type="checkbox" name="break[out]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="lunch[out]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="dinner[out]" value="yes" checked="checked" /></td>
</tr>
<tr>
<td colspan="5"><strong>Full days (only check those you travelled)</strong></td>
</tr>
<tr class="descr">
<td colspan="5">Please be aware of when a day counts as travel/half or full day!</td>
</tr>
<tr>
<td><input type="checkbox" name="use[1]" value="yes" /></td>
<td><input type="date" name="date[1]" /></td>
<td><input type="checkbox" name="break[1]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="lunch[1]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="dinner[1]" value="yes" checked="checked" /></td>
</tr>
<tr>
<td><input type="checkbox" name="use[2]" value="yes" /></td>
<td><input type="date" name="date[2]" /></td>
<td><input type="checkbox" name="break[2]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="lunch[2]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="dinner[2]" value="yes" checked="checked" /></td>
</tr>
<tr>
<td><input type="checkbox" name="use[3]" value="yes" /></td>
<td><input type="date" name="date[3]" /></td>
<td><input type="checkbox" name="break[3]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="lunch[3]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="dinner[3]" value="yes" checked="checked" /></td>
</tr>
<tr>
<td><input type="checkbox" name="use[4]" value="yes" /></td>
<td><input type="date" name="date[4]" /></td>
<td><input type="checkbox" name="break[4]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="lunch[4]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="dinner[4]" value="yes" checked="checked" /></td>
</tr>
<tr>
<td><input type="checkbox" name="use[5]" value="yes" /></td>
<td><input type="date" name="date[5]" /></td>
<td><input type="checkbox" name="break[5]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="lunch[5]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="dinner[5]" value="yes" checked="checked" /></td>
</tr>
<tr>
<td><input type="checkbox" name="use[6]" value="yes" /></td>
<td><input type="date" name="date[6]" /></td>
<td><input type="checkbox" name="break[6]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="lunch[6]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="dinner[6]" value="yes" checked="checked" /></td>
</tr>
<tr>
<td><input type="checkbox" name="use[7]" value="yes" /></td>
<td><input type="date" name="date[7]" /></td>
<td><input type="checkbox" name="break[7]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="lunch[7]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="dinner[7]" value="yes" checked="checked" /></td>
</tr>
<tr>
<td colspan="5"><strong>Return travel day</strong></td>
</tr>
<tr class="descr">
<td colspan="5">Please be aware of when a day counts as travel or full day!</td>
</tr>
<tr>
<td><input type="checkbox" name="use[return]" value="yes" /></td>
<td><input type="date" name="date[return]" /></td>
<td><input type="checkbox" name="break[return]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="lunch[return]" value="yes" checked="checked" /></td>
<td><input type="checkbox" name="dinner[return]" value="yes" checked="checked" /></td>
</tr>
</table>
<h2>4. Provide additional information for spreadsheet</h2>
<p>If you want to copy&amp;paste the output directly to your Reimbursement Claim spreadsheet, please provide additional data of your trip.</p>
<input type="text" name="rc_name" placeholder="Your Name" /><label>(Your name, as used in the spreadsheet)</label><br />
<input type="text" name="rc_er" placeholder="er.xxxx-xx-xx.yyy.zzzz" /><label>(The ER number used for your trip)</label><br />
<input type="text" name="rc_catch" placeholder="Catchy Phrase" /><label>(Catchphrase which will be used for your trip)</label><br />
<button type="submit" name="action" value="calc">Calculate per diem</button>
</form>
</body>
<timestamp>$Date$ $Author$</timestamp>
</html>
<!--
Local Variables: ***
mode: xml ***
End: ***
-->