{% extends "shared/frontend/base.html" %} {% block title %}{{ agreement.agreement_number }} - Fastpris Aftale{% endblock %} {% block content %}
{{ agreement.customer_name }}
| Kunde ID: | {{ agreement.customer_id }} |
|---|---|
| Kunde: | {{ agreement.customer_name }} |
| Start Dato: | {{ agreement.start_date }} |
| Slut Dato: | {{ agreement.end_date }} |
| Oprettet: | {{ agreement.created_at }} |
| MÄnedlige Timer: | {{ '%.0f'|format(agreement.monthly_hours or 0) }} timer |
|---|---|
| Normal Timepris: | {{ '%.0f'|format(agreement.hourly_rate or 0) }} kr |
| Overtid Timepris: | {{ '%.0f'|format(agreement.overtime_rate or 0) }} kr {% if agreement.overtime_rate and agreement.hourly_rate %}({{ '%.0f'|format((agreement.overtime_rate / agreement.hourly_rate - 1) * 100) }}%){% endif %} |
| Afrunding: | {% if agreement.rounding_minutes == 0 %}Ingen{% else %}{{ agreement.rounding_minutes }} min{% endif %} |
| Bindingsperiode: | {{ agreement.binding_months }} mÄneder |
| Opsigelsesfrist: | {{ agreement.notice_period_days }} dage |
| Periode | Status | Brugte Timer | Resterende Timer | Overtid | MÄnedlig VÊrdi |
|---|---|---|---|---|---|
| {{ period.period_start }} til {{ period.period_end }} | {% if period.status == 'active' %} Aktiv {% elif period.status == 'pending_approval' %} â ïž Overtid {% elif period.status == 'ready_to_bill' %} Klar til faktura {% elif period.status == 'billed' %} Faktureret {% endif %} | {{ '%.1f'|format(period.used_hours or 0) }}t | {{ '%.1f'|format(period.remaining_hours or 0) }}t | {% if period.overtime_hours and period.overtime_hours > 0 %} +{{ '%.1f'|format(period.overtime_hours) }}t {% else %} - {% endif %} | {{ '%.0f'|format(period.base_amount or 0) }} kr |
| Sag ID | Titel | Status | Oprettet | Handlinger |
|---|---|---|---|---|
| #{{ sag.id }} | {{ sag.titel }} | {% if sag.status == 'open' %} Ă ben {% elif sag.status == 'in_progress' %} I gang {% elif sag.status == 'closed' %} Lukket {% endif %} | {{ sag.created_at.strftime('%Y-%m-%d') if sag.created_at else '-' }} | Vis |
Ingen sager endnu
| Dato | Sag | Beskrivelse | Timer | Afrundet |
|---|---|---|---|---|
| {{ entry.created_at.strftime('%Y-%m-%d') if entry.created_at else '-' }} |
{% if entry.sag_id %}
#{{ entry.sag_id }}
{% if entry.sag_titel %}
{{ entry.sag_titel[:30] }} {% endif %} {% else %} - {% endif %} |
{{ entry.note[:50] if entry.note else '-' }} | {{ '%.2f'|format(entry.approved_hours or entry.original_hours or 0) }}t | {% if entry.rounded_to %} {{ entry.rounded_to }} min {% else %} - {% endif %} |
Ingen tidsregistreringer endnu