All Downloads are FREE. Search and download functionalities are using the official Maven repository.

default.view.tenants.tenant-details.html Maven / Gradle / Ivy

There is a newer version: 9.6
Show newest version
@*
*  Made with all the love in the world
*  by scireum in Remshalden, Germany
*
*  Copyright by scireum GmbH
*  http://www.scireum.de - [email protected]
*@
@args sirius.biz.tenants.Tenant tenant, sirius.biz.tenants.TenantController controller
@extends(view.tenants.tenant.html, tenant, "details")

@editForm(("tenant/" + tenant.getIdAsString())) {
    
@textfield(span: "8", name: "name", value: tenant.getName(), labelKey: "Model.name", required: true) @textfield(span: "4", name: "accountNumber", value: tenant.getAccountNumber(), labelKey: "Tenant.accountNumber")
@heading("Model.address")
@textfield(span: "12", name: "address_street", value: tenant.getAddress().getStreet(), labelKey: "AddressData.street")
@textfield(span: "2", name: "address_zip", value: tenant.getAddress().getZip(), labelKey: "AddressData.zip") @textfield(span: "6", name: "address_city", value: tenant.getAddress().getCity(), labelKey: "AddressData.city") @codelistSelect(span: "4", list: "countries", name: "address_country", value: tenant.getAddress().getCountry(), labelKey: "AddressData.country")
@if(!controller.getPermissions().isEmpty()) { @heading("Tenant.permissions") @for(String permission : controller.getPermissions()) {
} }
@includeExtensions("view-tenant-details", tenant) } @formBar() { @tracing(tenant.getTrace()) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy