{% extends 'admin/detail_form.html' %} {% load i18n %} {% block extrastyle %} {{ block.super }} {% if request.GET.print_expense %} {% endif %} {% endblock %} {% block content %}

{{ obj.assigned_to }}

{% trans 'Status' %} {{ obj.get_status_display }}
{% trans 'Number' %} {{ obj.number }}
{% trans 'Code' %} {{ obj.code }} {% trans 'Assigned to' %} {{ obj.assigned_to }}
{% trans 'Date From' %} {{ obj.date_begin }} {% trans 'Date To' %} {{ obj.date_end }}
{% trans 'Currency' %} {{ obj.currency }} {% trans 'Change' %} {{ obj.change }}
{% trans 'Purpose of trip' %} {{ obj.purpose_trip }}
{% for t in obj.transportations.all %} {% endfor %}
{% trans 'TRANSPORT' %}
{% trans 'Date from' %} {% trans 'Date to' %} {% trans 'Time from' %} {% trans 'Time to' %} {% trans 'Location' %} {% trans 'Air Travel' %} {% trans 'Bus/Subway' %} {% trans 'Train' %} {% trans 'Taxi' %} {% trans 'Amount due' %}
{{ t.date_begin }} {{ t.date_end }} {{ t.time_begin }} {{ t.location }} {{ t.time_end }} {{ t.air_cost }} {{ t.bus_cost }} {{ t.train_cost }} {{ t.taxi_cost }} {{ t.total|floatformat:2 }}
{% trans 'totals' %} {{ obj.transportation_total.air_cost_subtotal|floatformat:2 }} {{ obj.transportation_total.bus_cost_subtotal|floatformat:2 }} {{ obj.transportation_total.train_cost_subtotal|floatformat:2 }} {{ obj.transportation_total.taxi_cost_subtotal|floatformat:2 }} {{ obj.transportation_total.total|floatformat:2 }}
{% trans 'Euro totals' %} {{ obj.euro_transportation_total|floatformat:2 }}
{% for a in obj.autotravels.all %} {% endfor %}
{% trans 'AUTO EXPENSES TRAVEL' %}
{% trans 'Date' %} {% trans 'Date to' %} {% trans 'Time from' %} {% trans 'Time to' %} {% trans 'Personal vehicle' %} {% trans 'Total KM' %} {% trans 'Rate/KM' %} {% trans 'KM cost' %} {% trans 'Rental cost' %} {% trans 'Other cost' %} {% trans 'Amount due' %}
{{ a.date_begin }} {{ a.date_end }} {{ a.time_begin }} {{ a.time_end }} {{ a.car }} {{ a.car_km }} {{ a.rate_per_km }} {{ a.km_cost }} {{ a.rental_cost }} {{ a.other_cost }} {{ a.total|floatformat:2 }}
{% trans 'totals' %} {{ obj.autotravel_total.km_cost_subtotal|floatformat:2 }} {{ obj.autotravel_total.rental_cost_subtotal|floatformat:2 }} {{ obj.autotravel_total.other_cost_subtotal|floatformat:2 }} {{ obj.autotravel_total.total|floatformat:2 }}
{% trans 'Euro totals' %} {{ obj.euro_autotravel_total|floatformat:2 }}
{% for m in obj.meals.all %} {% endfor %}
{% trans 'MEALS' %}
{% trans 'Date from' %} {% trans 'Date to' %} {% trans 'Time from' %} {% trans 'Time to' %} {% trans 'Location' %} {% trans 'Breakfast' %} {% trans 'Lunch' %} {% trans 'Dinner' %} {% trans 'Other cost' %} {% trans 'Amount due' %}
{{ m.date_begin }} {{ m.date_end }} {{ m.time_begin }} {{ m.time_end }} {{ m.location }} {{ m.breakfast_cost }} {{ m.lunch_cost }} {{ m.dinner_cost }} {{ m.other_cost }} {{ m.total|floatformat:2 }}
{% trans 'totals' %} {{ obj.meal_total.breakfast_cost_subtotal|floatformat:2 }} {{ obj.meal_total.lunch_cost_subtotal|floatformat:2 }} {{ obj.meal_total.dinner_cost_subtotal|floatformat:2 }} {{ obj.meal_total.other_cost_subtotal|floatformat:2 }} {{ obj.meal_total.total|floatformat:2 }}
{% trans 'Euro totals' %} {{ obj.euro_meal_total|floatformat:2 }}
{% for l in obj.lodgings.all %} {% endfor %}
{% trans 'LODGING AND MEALS' %}
{% trans 'Date from' %} {% trans 'Date to' %} {% trans 'Time from' %} {% trans 'Time to' %} {% trans 'Location' %} {% trans 'Apartment/hotel' %} {% trans 'Phone' %} {% trans 'Tips' %} {% trans 'Laundry' %} {% trans 'Other cost' %} {% trans 'Amount due' %}
{{ l.date_begin }} {{ l.date_end }} {{ l.time_begin }} {{ l.time_end }} {{ l.location }} {{ l.lodging_cost }} {{ l.phone_cost }} {{ l.tip_cost }} {{ l.laundry_cost }} {{ l.other_cost }} {{ l.total|floatformat:2 }}
{% trans 'totals' %} {{ obj.lodging_total.lodging_cost_subtotal|floatformat:2 }} {{ obj.lodging_total.phone_cost_subtotal|floatformat:2 }} {{ obj.lodging_total.tip_cost_subtotal|floatformat:2 }} {{ obj.lodging_total.laundry_cost_subtotal|floatformat:2 }} {{ obj.lodging_total.other_cost_subtotal|floatformat:2 }} {{ obj.lodging_total.total|floatformat:2 }}
{% trans 'Euro totals' %} {{ obj.euro_lodging_total|floatformat:2 }}
{% for c in obj.client_entertainments.all %} {% endfor %}
{% trans 'CLIENTS ENTERTAINMENT' %}
{% trans 'Date from' %} {% trans 'Date to' %} {% trans 'Time from' %} {% trans 'Time to' %} {% trans 'Location' %} {% trans 'Client name' %} {% trans 'Client Company' %} {% trans 'Restaurants' %} {% trans 'Sports/exibitions' %} {% trans 'Lodging' %} {% trans 'Airtravel' %} {% trans 'Gift/other' %} {% trans 'Amount due' %}
{{ c.date_begin }} {{ c.date_end }} {{ c.time_begin }} {{ c.time_end }} {{ c.location }} {{ c.client_name }} {{ c.client_company }} {{ c.restaurant_cost }} {{ c.sport_cost }} {{ c.lodging_cost }} {{ c.air_cost }} {{ c.other_cost }} {{ c.total|floatformat:2 }}
{% trans 'totals' %} {{ obj.client_entertainment_total.restaurant_cost_subtotal|floatformat:2 }} {{ obj.client_entertainment_total.sport_cost_subtotal|floatformat:2 }} {{ obj.client_entertainment_total.lodging_cost_subtotal|floatformat:2 }} {{ obj.client_entertainment_total.air_cost_subtotal|floatformat:2 }} {{ obj.client_entertainment_total.other_cost_subtotal|floatformat:2 }} {{ obj.client_entertainment_total.total|floatformat:2 }}
{% trans 'Euro totals' %} {{ obj.euro_client_entertainment_total|floatformat:2 }}
{% for c in obj.privates.all %} {% endfor %}
{% trans 'PRIVATE EXPENSES' %}
{% trans 'Date from' %} {% trans 'Location' %} {% trans 'Type of expense' %} {% trans 'Cost' %} {% trans 'Excess as per policy' %}
{{ c.date_begin }} {{ c.location }} {{ c.type_of_expensive }} {{ obj.currency.symbol }} {{ c.cost|floatformat:2 }} {{ c.excess_as_per_policy|floatformat:2 }}
{% trans 'Totals' %} {{ obj.currency.symbol }} {{ obj.private_expensive_total|floatformat:2 }}
{% if obj.destination_currency %}{{ obj.destination_currency.name }}{% else %}{{ obj.currency.name }}{% endif %} {% trans 'totals' %} {% if obj.destination_currency %}{{ obj.destination_currency.symbol }}{% else %}{{ obj.currency.symbol }}{% endif %} {{ obj.euro_private_expensive_total|floatformat:2 }}
{% for c in obj.company_expresses.all %} {% endfor %}
{% trans 'COMPANY EXPENSES' %}
{% trans 'Date from' %} {% trans 'Supplier' %} {% trans 'Description' %} {% trans 'Receipt/Invoice' %}
{{ c.date_begin }} {{ c.supplier }} {{ c.description }} {{ c.invoice|floatformat:2 }}
{% trans 'totals' %} {{ obj.company_express_total|floatformat:2 }}
{% trans 'Euro totals' %} {{ obj.euro_company_express_total|floatformat:2 }}
{% trans 'Totals' %} {{ obj.totals|floatformat:2 }}
{% trans 'Euro Totals' %} {{ obj.euro_totals|floatformat:2 }}
{% for c in obj.other_expenses.all %} {% endfor %}
{% trans 'OTHER EXPENSES' %}
{% trans 'Date from' %} {% trans 'Supplier' %} {% trans 'Description' %} {% trans 'Receipt/Invoice' %}
{{ c.date_begin }} {{ c.supplier }} {{ c.description }} {{ c.invoice|floatformat:2 }}
{% trans 'totals' %} {{ obj.other_expense_total|floatformat:2 }}
{% trans 'Euro totals' %} {{ obj.euro_other_expense_total|floatformat:2 }}
{% trans 'Totals' %} {{ obj.totals|floatformat:2 }}
{% trans 'Euro Totals' %} {{ obj.euro_totals|floatformat:2 }}
{% endblock %}