19 package org.turro.erp.sales.logic;
21 import org.turro.auth.Authentication;
22 import org.turro.command.Command;
23 import org.turro.command.Context;
24 import org.turro.elephant.log.LogType;
25 import org.turro.elephant.util.ZkossUtils;
26 import org.turro.erp.entity.CustomerOrder;
27 import org.turro.zul.frame.Framework;
39 public void delete(
final boolean close) {
42 ZkossUtils.confirmDeletion(
null,
new Command() {
44 public Object execute(Context context) {
56 if(
entity.getId() == 0)
return false;
void logEntity(LogType logType, String path, String action, String data)
CustomerOrderWrapper(CustomerOrder entity)
void delete(final boolean close)
static Framework getCurrent()