@ -16,20 +16,24 @@
<menuitem
<menuitem
image="/img/beam-032.png"
image="/img/beam-032.png"
label="${labels.MaterialRequirements}"
label="${labels.MaterialRequirements}"
href="/main/orders/material/" />
href="/main/orders/material/"
disabled="${not sec:isAllGranted('PERM_READ_MATERIAL')}" />
<menuitem
<menuitem
image="/img/worker-032.png"
image="/img/worker-032.png"
label="${labels.ServiceRequirements}"
label="${labels.ServiceRequirements}"
href="/main/orders/services/" />
href="/main/orders/services/"
disabled="${not sec:isAllGranted('PERM_READ_SERVICES')}" />
<menuseparator />
<menuseparator />
<menuitem
<menuitem
image="/img/hammer-016.png"
image="/img/hammer-016.png"
label="${labels.ApprovedRequirementItems}"
label="${labels.ApprovedRequirementItems}"
href="/main/orders/approved/" />
href="/main/orders/approved/"
disabled="${not sec:isAllGranted('PERM_READ_APPROVED')}" />
<menuitem
<menuitem
image="/img/autotruck-016.png"
image="/img/autotruck-016.png"
label="${labels.CreatedOrders}"
label="${labels.CreatedOrders}"
href="/main/orders/created/" />
href="/main/orders/created/"
disabled="${not sec:isAllGranted('PERM_READ_ORDER')}" />
</menupopup>
</menupopup>
</menu>
</menu>
<menu label="${labels.BussinessTrips}">
<menu label="${labels.BussinessTrips}">
@ -37,11 +41,13 @@
<menuitem
<menuitem
image="/img/req-trip-016.png"
image="/img/req-trip-016.png"
label="${labels.CurrentRequirements}"
label="${labels.CurrentRequirements}"
href="/main/trips/requirements/" />
href="/main/trips/requirements/"
disabled="${not sec:isAllGranted('PERM_READ_TRIPREQUIREMENTS')}" />
<menuitem
<menuitem
image="/img/pickup-024.png"
image="/img/pickup-024.png"
label="${labels.TravelOrders}"
label="${labels.TravelOrders}"
href="/main/trips/bill" />
href="/main/trips/bill"
disabled="${not sec:isAllGranted('PERM_READ_TRIPBILL')}" />
</menupopup>
</menupopup>
</menu>
</menu>
<menuseparator />
<menuseparator />
@ -89,7 +95,7 @@
<menuitem
<menuitem
label="${labels.NumberSeries}…"
label="${labels.NumberSeries}…"
onClick="@command('numSeries')"
onClick="@command('numSeries')"
disabled="${not sec:isAllGranted('ROLE_ADMIN')}"/>
disabled="${not sec:isAllGranted('ROLE_ADMIN')}" />
<menu label="${labels.Administration}">
<menu label="${labels.Administration}">
<menupopup>
<menupopup>
<menuitem
<menuitem