@using RazorLight
@inherits TemplatePage<Elwig.Documents.BusinessDocument>
@model Elwig.Documents.BusinessDocument
@{ Layout = "Document"; }
<link rel="stylesheet" href="file:///@Raw(Model.DataPath)\resources\BusinessDocument.css"/>
<div class="info-wrapper">
    <div class="address-wrapper">
        <div class="sender">
            @if (Model.IncludeSender) {
                <div>@Elwig.App.Client.Sender1</div>
                <div>@Elwig.App.Client.Sender2</div>
            }
        </div>
        <address>@Model.Address</address>
    </div>
    <aside>@Raw(Model.Aside)</aside>
    @if (Model.ShowDateAndLocation) {
        <div class="date">@Model.Location, am @($"{Model.Date:dd.MM.yyyy}")</div>
    }
</div>
@RenderBody()
