Merge pull request 'bug#AL-1972' (#30) from AL-1972 into master

Reviewed-on: http://18.235.188.113:3000/adm/VentaBoletosAdm/pulls/30
Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>
Reviewed-by: wallace <wallace@rjconsultores.com.br>
master 1.0.24
Lucas Taiã 2022-12-29 14:42:02 +00:00
commit cd1a21fb9f
2 changed files with 10 additions and 11 deletions

13
pom.xml
View File

@ -1,9 +1,16 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<properties>
<ventaboletosadm.version>1.0.24</ventaboletosadm.version>
<modelWeb.version>1.0.18</modelWeb.version>
<flyway.version>1.0.8</flyway.version>
</properties>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>ventaboletosadm</artifactId> <artifactId>ventaboletosadm</artifactId>
<version>1.0.23</version> <version>${ventaboletosadm.version}</version>
<packaging>war</packaging> <packaging>war</packaging>
<distributionManagement> <distributionManagement>
@ -55,13 +62,13 @@
<dependency> <dependency>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>ModelWeb</artifactId> <artifactId>ModelWeb</artifactId>
<version>1.0.17</version> <version>${modelWeb.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>Flyway</artifactId> <artifactId>Flyway</artifactId>
<version>1.0.8</version> <version>${flyway.version}</version>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -272,14 +272,6 @@ public class EditarEstacionController extends MyGenericForwardComposer {
private List<String> getTiposImpressora() { private List<String> getTiposImpressora() {
List<String> tiposImpressora = new ArrayList<String>(); List<String> tiposImpressora = new ArrayList<String>();
for (TipoImpressora tipo : TipoImpressora.values()) { for (TipoImpressora tipo : TipoImpressora.values()) {
if (tipo.equals(TipoImpressora.MACON)) {
boolean isVendaMacon = ApplicationProperties.getInstance().isCustomHabilitado(CustomEnum.IS_VENDA_MACON.getDescricao(), Boolean.TRUE);
if (!isVendaMacon) {
continue;
}
}
tiposImpressora.add(tipo.getNome()); tiposImpressora.add(tipo.getNome());
} }
return tiposImpressora; return tiposImpressora;