- Opravena kontrola práv při ružení schválení vyúčtování SC.

- Opraven refresh gridů při mazání záznamů.
- Zrušeno výchozí třídění v agendě Cestovní příkazy.
- Opraven pom.xml.
Verze_3.0 3.1
Josef Rokos 9 years ago
parent 67ff54d3f1
commit 6ac6d783fb

@ -420,6 +420,7 @@
<directory>src/main/resources</directory> <directory>src/main/resources</directory>
<includes> <includes>
<include>**/*.xml</include> <include>**/*.xml</include>
<include>**/*.properties</include>
</includes> </includes>
</resource> </resource>
</resources> </resources>

@ -69,7 +69,7 @@ public class TripBillApprovalServiceImpl extends RequirementBaseServiceImpl<Trip
@Override @Override
@Transactional @Transactional
@PreAuthorize("this.canApprove(#bill.approval)") @PreAuthorize("hasPermission(this, 'PERM_DELETE') or this.canApprove(#bill.approval)")
public void cancelApproval(TripBill bill) { public void cancelApproval(TripBill bill) {
bill.setApproval(null); bill.setApproval(null);
signedDocumentService.deleteForEntity(bill); signedDocumentService.deleteForEntity(bill);

@ -184,7 +184,6 @@ public class ListViewModel<T extends DataModel> extends DocumentViewModel
} }
@Command @Command
@NotifyChange({ "dataList", "dataBean" })
public void delete() { public void delete() {
Messagebox.show(StringUtils.localize("DbReallyDelete"), StringUtils.localize("DbDeleteRecord"), Messagebox.YES Messagebox.show(StringUtils.localize("DbReallyDelete"), StringUtils.localize("DbDeleteRecord"), Messagebox.YES
| Messagebox.NO, Messagebox.QUESTION, | Messagebox.NO, Messagebox.QUESTION,

@ -51,6 +51,6 @@
<div id="mainData"> <div id="mainData">
<u:include src="${gridZul}" /> <u:include src="${gridZul}" />
</div> </div>
<div id="footer"> Verze 2.0 </div> <div id="footer"> Verze 3.1 </div>
</div> </div>
</html> </html>

@ -18,7 +18,6 @@
<listheader <listheader
label="${labels.TravelOrdersGridNumser}" label="${labels.TravelOrdersGridNumser}"
sort="czech(bill.requirement.numser)" sort="czech(bill.requirement.numser)"
onCreate="self.sort(false)"
width="30%" /> width="30%" />
<listheader <listheader
label="${labels.TravelOrdersGridReqDate}" label="${labels.TravelOrdersGridReqDate}"

Loading…
Cancel
Save