diff --git a/src/ve/ve1300.cpp b/src/ve/ve1300.cpp index 7eeef9940..a50cca7f8 100755 --- a/src/ve/ve1300.cpp +++ b/src/ve/ve1300.cpp @@ -548,7 +548,7 @@ bool TReport_doc::msg_cliente(TVariant_stack& stack, bool is_indsped) key = indsped.get(IND_STATO); key << '|' << indsped.get(IND_COM); } - if (indsped.get(IND_COM).blank()) + if (!is_indsped || indsped.get(IND_COM).blank()) { key = occasionale ? cli_occ.get(OCC_STATO) : cli_for.get(CLI_STATOCF); key << '|' << (occasionale ? cli_occ.get(OCC_COM) : cli_for.get(CLI_COMCF));