Creacion de number formated text field y implementacion de prueba como campos de efectivo
This commit is contained in:
394
.idea/workspace.xml
generated
394
.idea/workspace.xml
generated
@@ -10,20 +10,14 @@
|
|||||||
<bookmark url="file://$PROJECT_DIR$/src/danielcortes/xyz/controllers/ArqueoController.java" line="54" />
|
<bookmark url="file://$PROJECT_DIR$/src/danielcortes/xyz/controllers/ArqueoController.java" line="54" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="a633d35a-56a6-4479-b4c4-f97198052fb7" name="Default Changelist" comment="Agregado nro">
|
<list default="true" id="a633d35a-56a6-4479-b4c4-f97198052fb7" name="Default Changelist" comment="">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/dataSources.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/dataSources.xml" afterDir="false" />
|
<change afterPath="$PROJECT_DIR$/src/danielcortes/xyz/views/components/NumberFormatedTextField.java" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/dataSources/6e2ee496-6ca2-4cc4-a2b0-4f122e6bfd50.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/dataSources/6e2ee496-6ca2-4cc4-a2b0-4f122e6bfd50.xml" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/database/sqlite.sql" beforeDir="false" afterPath="$PROJECT_DIR$/database/sqlite.sql" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/dist/caja.jar" beforeDir="false" afterPath="$PROJECT_DIR$/dist/caja.jar" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/dist/caja.jar" beforeDir="false" afterPath="$PROJECT_DIR$/dist/caja.jar" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/dist/database.sqlite" beforeDir="false" afterPath="$PROJECT_DIR$/dist/database.sqlite" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/danielcortes/xyz/controllers/ArqueoController.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/danielcortes/xyz/controllers/ArqueoController.java" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/danielcortes/xyz/controllers/IngresosController.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/danielcortes/xyz/controllers/IngresosController.java" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/danielcortes/xyz/views/ArqueoView.form" beforeDir="false" afterPath="$PROJECT_DIR$/src/danielcortes/xyz/views/ArqueoView.form" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/danielcortes/xyz/models/ingreso/Ingreso.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/danielcortes/xyz/models/ingreso/Ingreso.java" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/danielcortes/xyz/views/ArqueoView.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/danielcortes/xyz/views/ArqueoView.java" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/danielcortes/xyz/models/ingreso/IngresoDAO.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/danielcortes/xyz/models/ingreso/IngresoDAO.java" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/danielcortes/xyz/models/ingreso/SQLiteIngresoDAO.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/danielcortes/xyz/models/ingreso/SQLiteIngresoDAO.java" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/danielcortes/xyz/views/IngresosView.form" beforeDir="false" afterPath="$PROJECT_DIR$/src/danielcortes/xyz/views/IngresosView.form" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/danielcortes/xyz/views/IngresosView.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/danielcortes/xyz/views/IngresosView.java" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/danielcortes/xyz/views/IngresosView.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/danielcortes/xyz/views/IngresosView.java" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/danielcortes/xyz/views/components/IngresosTableModel.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/danielcortes/xyz/views/components/IngresosTableModel.java" afterDir="false" />
|
|
||||||
</list>
|
</list>
|
||||||
<ignored path="$PROJECT_DIR$/target/" />
|
<ignored path="$PROJECT_DIR$/target/" />
|
||||||
<ignored path=".idea/" />
|
<ignored path=".idea/" />
|
||||||
@@ -79,10 +73,112 @@
|
|||||||
<favorites_list name="caja" />
|
<favorites_list name="caja" />
|
||||||
</component>
|
</component>
|
||||||
<component name="FileEditorManager">
|
<component name="FileEditorManager">
|
||||||
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
<leaf>
|
||||||
|
<file pinned="false" current-in-tab="false">
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/danielcortes/xyz/controllers/ArqueoController.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="25">
|
||||||
|
<caret line="285" column="5" selection-start-line="285" selection-start-column="5" selection-end-line="285" selection-end-column="5" />
|
||||||
|
<folding>
|
||||||
|
<element signature="docComment;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#ArqueoController#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#ArqueoController#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#updateCaja#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#updateCaja#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#updateResumen#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#fillEfectivo#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#fillEfectivo#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#fillDocumentos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#fillDocumentos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#fillResumen#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#fillResumen#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#updateResumenEfectivo#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#updateResumenDocumentos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#updateResumenDocumentos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#updateResumenEgresos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#updateResumenEgresos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#updateResumenArqueo#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#updateResumenArqueo#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#setUpViewEvents#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#guardarEfectivoActionListener#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#guardarDocumentosActionListener#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#guardarDocumentosActionListener#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#guardarEfectivo#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#guardarDocumentos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#guardarDocumentos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#validateDocumentosInput#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#validateDocumentosInput#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#validateDocumentosValor#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#validateDocumentosValor#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#hiddeEfectivoErrorMessages#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#hiddeEfectivoErrorMessages#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#hiddeDocumentosErrorMessages#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#hiddeDocumentosErrorMessages#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#normalizeDocumentosInput#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#normalizeDocumentosInput#0;class#ArqueoController#0" />
|
||||||
|
<element signature="class#GuardarEfectivoAction#0;class#ArqueoController#0" />
|
||||||
|
<element signature="n#!!block;n#GuardarEfectivoAction#0;n#GuardarEfectivoAction#0;n#ArqueoController#0" />
|
||||||
|
<element signature="class#GuardarDocumentosAction#0;class#ArqueoController#0" />
|
||||||
|
<element signature="n#!!block;n#GuardarDocumentosAction#0;n#GuardarDocumentosAction#0;n#ArqueoController#0" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
<file pinned="false" current-in-tab="true">
|
<file pinned="false" current-in-tab="true">
|
||||||
<entry file="file://$PROJECT_DIR$/src/danielcortes/xyz/views/IngresosView.form">
|
<entry file="file://$PROJECT_DIR$/src/danielcortes/xyz/views/ArqueoView.java">
|
||||||
<provider selected="true" editor-type-id="ui-designer" />
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="-67">
|
||||||
|
<caret line="130" column="5" selection-start-line="130" selection-start-column="5" selection-end-line="130" selection-end-column="5" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
<element signature="e#2776#2777#0" expanded="true" />
|
||||||
|
<element signature="e#2811#2812#0" expanded="true" />
|
||||||
|
<element signature="e#2869#2870#0" expanded="true" />
|
||||||
|
<element signature="e#2906#2907#0" expanded="true" />
|
||||||
|
<element signature="e#2962#2963#0" expanded="true" />
|
||||||
|
<element signature="e#2997#2998#0" expanded="true" />
|
||||||
|
<element signature="e#3054#3055#0" expanded="true" />
|
||||||
|
<element signature="e#3090#3091#0" expanded="true" />
|
||||||
|
<element signature="e#3145#3146#0" expanded="true" />
|
||||||
|
<element signature="e#3179#3180#0" expanded="true" />
|
||||||
|
<element signature="e#3231#3232#0" expanded="true" />
|
||||||
|
<element signature="e#3262#3263#0" expanded="true" />
|
||||||
|
<element signature="e#3321#3322#0" expanded="true" />
|
||||||
|
<element signature="e#3359#3360#0" expanded="true" />
|
||||||
|
<element signature="e#3412#3413#0" expanded="true" />
|
||||||
|
<element signature="e#3444#3445#0" expanded="true" />
|
||||||
|
<element signature="e#3502#3503#0" expanded="true" />
|
||||||
|
<element signature="e#3539#3540#0" expanded="true" />
|
||||||
|
<element signature="e#3592#3593#0" expanded="true" />
|
||||||
|
<element signature="e#3624#3625#0" expanded="true" />
|
||||||
|
<element signature="e#3667#3668#0" expanded="true" />
|
||||||
|
<element signature="e#3702#3703#0" expanded="true" />
|
||||||
|
<element signature="e#3746#3747#0" expanded="true" />
|
||||||
|
<element signature="e#3782#3783#0" expanded="true" />
|
||||||
|
<element signature="e#3826#3827#0" expanded="true" />
|
||||||
|
<element signature="e#3862#3863#0" expanded="true" />
|
||||||
|
<element signature="e#3908#3909#0" expanded="true" />
|
||||||
|
<element signature="e#3946#3947#0" expanded="true" />
|
||||||
|
<element signature="e#3989#3990#0" expanded="true" />
|
||||||
|
<element signature="e#4024#4025#0" expanded="true" />
|
||||||
|
<element signature="e#4067#4068#0" expanded="true" />
|
||||||
|
<element signature="e#4102#4103#0" expanded="true" />
|
||||||
|
<element signature="e#4151#4152#0" expanded="true" />
|
||||||
|
<element signature="e#4195#4196#0" expanded="true" />
|
||||||
|
<element signature="e#4246#4247#0" expanded="true" />
|
||||||
|
<element signature="e#4292#4293#0" expanded="true" />
|
||||||
|
<element signature="e#4991#4992#0" expanded="true" />
|
||||||
|
<element signature="e#5026#5027#0" expanded="true" />
|
||||||
|
<element signature="e#5066#5067#0" expanded="true" />
|
||||||
|
<element signature="e#5102#5103#0" expanded="true" />
|
||||||
|
<element signature="e#5148#5149#0" expanded="true" />
|
||||||
|
<element signature="e#5186#5187#0" expanded="true" />
|
||||||
|
<element signature="e#5232#5233#0" expanded="true" />
|
||||||
|
<element signature="e#5270#5271#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
</leaf>
|
</leaf>
|
||||||
@@ -98,8 +194,6 @@
|
|||||||
</component>
|
</component>
|
||||||
<component name="FindInProjectRecents">
|
<component name="FindInProjectRecents">
|
||||||
<findStrings>
|
<findStrings>
|
||||||
<find>addRow</find>
|
|
||||||
<find>set</find>
|
|
||||||
<find>print</find>
|
<find>print</find>
|
||||||
<find>"</find>
|
<find>"</find>
|
||||||
<find>fec</find>
|
<find>fec</find>
|
||||||
@@ -128,6 +222,8 @@
|
|||||||
<find>editar</find>
|
<find>editar</find>
|
||||||
<find>toggleSortOrder</find>
|
<find>toggleSortOrder</find>
|
||||||
<find>Copyright (c) 2018 Daniel Cortes</find>
|
<find>Copyright (c) 2018 Daniel Cortes</find>
|
||||||
|
<find>format</find>
|
||||||
|
<find>format(</find>
|
||||||
</findStrings>
|
</findStrings>
|
||||||
<replaceStrings>
|
<replaceStrings>
|
||||||
<replace>2018 Daniel Cortes</replace>
|
<replace>2018 Daniel Cortes</replace>
|
||||||
@@ -148,8 +244,6 @@
|
|||||||
<component name="IdeDocumentHistory">
|
<component name="IdeDocumentHistory">
|
||||||
<option name="CHANGED_PATHS">
|
<option name="CHANGED_PATHS">
|
||||||
<list>
|
<list>
|
||||||
<option value="$PROJECT_DIR$/pom.xml" />
|
|
||||||
<option value="$PROJECT_DIR$/conf.properties" />
|
|
||||||
<option value="$PROJECT_DIR$/src/main/java/danielcortes/xyz/models/caja/MysqlCajaDAO.java" />
|
<option value="$PROJECT_DIR$/src/main/java/danielcortes/xyz/models/caja/MysqlCajaDAO.java" />
|
||||||
<option value="$PROJECT_DIR$/src/main/java/danielcortes/xyz/models/caja/CajaDAO.java" />
|
<option value="$PROJECT_DIR$/src/main/java/danielcortes/xyz/models/caja/CajaDAO.java" />
|
||||||
<option value="$PROJECT_DIR$/src/main/java/danielcortes/xyz/models/caja/SQLiteCajaDAO.java" />
|
<option value="$PROJECT_DIR$/src/main/java/danielcortes/xyz/models/caja/SQLiteCajaDAO.java" />
|
||||||
@@ -187,9 +281,6 @@
|
|||||||
<option value="$PROJECT_DIR$/src/danielcortes/xyz/data/SQLiteConnectionHolder.java" />
|
<option value="$PROJECT_DIR$/src/danielcortes/xyz/data/SQLiteConnectionHolder.java" />
|
||||||
<option value="$PROJECT_DIR$/src/danielcortes/xyz/models/caja/Caja.java" />
|
<option value="$PROJECT_DIR$/src/danielcortes/xyz/models/caja/Caja.java" />
|
||||||
<option value="$PROJECT_DIR$/database/mysql.sql" />
|
<option value="$PROJECT_DIR$/database/mysql.sql" />
|
||||||
<option value="$PROJECT_DIR$/src/danielcortes/xyz/views/ArqueoView.java" />
|
|
||||||
<option value="$PROJECT_DIR$/src/danielcortes/xyz/views/ArqueoView.form" />
|
|
||||||
<option value="$PROJECT_DIR$/src/danielcortes/xyz/controllers/ArqueoController.java" />
|
|
||||||
<option value="$APPLICATION_CONFIG_DIR$/consoles/db/6e2ee496-6ca2-4cc4-a2b0-4f122e6bfd50/console.sql" />
|
<option value="$APPLICATION_CONFIG_DIR$/consoles/db/6e2ee496-6ca2-4cc4-a2b0-4f122e6bfd50/console.sql" />
|
||||||
<option value="$PROJECT_DIR$/src/danielcortes/xyz/models/ingreso/Ingreso.java" />
|
<option value="$PROJECT_DIR$/src/danielcortes/xyz/models/ingreso/Ingreso.java" />
|
||||||
<option value="$PROJECT_DIR$/src/danielcortes/xyz/models/ingreso/IngresoDAO.java" />
|
<option value="$PROJECT_DIR$/src/danielcortes/xyz/models/ingreso/IngresoDAO.java" />
|
||||||
@@ -199,6 +290,11 @@
|
|||||||
<option value="$PROJECT_DIR$/src/danielcortes/xyz/controllers/IngresosController.java" />
|
<option value="$PROJECT_DIR$/src/danielcortes/xyz/controllers/IngresosController.java" />
|
||||||
<option value="$PROJECT_DIR$/src/danielcortes/xyz/models/ingreso/SQLiteIngresoDAO.java" />
|
<option value="$PROJECT_DIR$/src/danielcortes/xyz/models/ingreso/SQLiteIngresoDAO.java" />
|
||||||
<option value="$PROJECT_DIR$/src/danielcortes/xyz/views/IngresosView.form" />
|
<option value="$PROJECT_DIR$/src/danielcortes/xyz/views/IngresosView.form" />
|
||||||
|
<option value="$PROJECT_DIR$/src/danielcortes/xyz/views/components/JNumberFormatedTextField.java" />
|
||||||
|
<option value="$PROJECT_DIR$/src/danielcortes/xyz/views/components/NumberFormatedTextField.java" />
|
||||||
|
<option value="$PROJECT_DIR$/src/danielcortes/xyz/controllers/ArqueoController.java" />
|
||||||
|
<option value="$PROJECT_DIR$/src/danielcortes/xyz/views/ArqueoView.form" />
|
||||||
|
<option value="$PROJECT_DIR$/src/danielcortes/xyz/views/ArqueoView.java" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
@@ -253,8 +349,6 @@
|
|||||||
<foldersAlwaysOnTop value="true" />
|
<foldersAlwaysOnTop value="true" />
|
||||||
</navigator>
|
</navigator>
|
||||||
<panes>
|
<panes>
|
||||||
<pane id="Scope" />
|
|
||||||
<pane id="PackagesPane" />
|
|
||||||
<pane id="ProjectPane">
|
<pane id="ProjectPane">
|
||||||
<subPane>
|
<subPane>
|
||||||
<expand>
|
<expand>
|
||||||
@@ -293,7 +387,7 @@
|
|||||||
<item name="src" type="462c0819:PsiDirectoryNode" />
|
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||||
<item name="xyz" type="462c0819:PsiDirectoryNode" />
|
<item name="xyz" type="462c0819:PsiDirectoryNode" />
|
||||||
<item name="views" type="462c0819:PsiDirectoryNode" />
|
<item name="views" type="462c0819:PsiDirectoryNode" />
|
||||||
<item name="IngresosView" type="e9f4de52:FormNode" />
|
<item name="ArqueoView" type="e9f4de52:FormNode" />
|
||||||
</path>
|
</path>
|
||||||
<path>
|
<path>
|
||||||
<item name="caja" type="b2602c69:ProjectViewProjectNode" />
|
<item name="caja" type="b2602c69:ProjectViewProjectNode" />
|
||||||
@@ -304,6 +398,8 @@
|
|||||||
<select />
|
<select />
|
||||||
</subPane>
|
</subPane>
|
||||||
</pane>
|
</pane>
|
||||||
|
<pane id="PackagesPane" />
|
||||||
|
<pane id="Scope" />
|
||||||
</panes>
|
</panes>
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">
|
<component name="PropertiesComponent">
|
||||||
@@ -317,7 +413,7 @@
|
|||||||
<property name="UI_DESIGNER_EDITOR_MODE.UIDesignerToolWindowManager.STATE" value="ToolWindow" />
|
<property name="UI_DESIGNER_EDITOR_MODE.UIDesignerToolWindowManager.STATE" value="ToolWindow" />
|
||||||
<property name="WebServerToolWindowFactoryState" value="false" />
|
<property name="WebServerToolWindowFactoryState" value="false" />
|
||||||
<property name="aspect.path.notification.shown" value="true" />
|
<property name="aspect.path.notification.shown" value="true" />
|
||||||
<property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1546722936849" />
|
<property name="com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp" value="1546736382443" />
|
||||||
<property name="com.intellij.ide.scratch.LRUPopupBuilder$1/Change SQL Dialect" value="SQLite" />
|
<property name="com.intellij.ide.scratch.LRUPopupBuilder$1/Change SQL Dialect" value="SQLite" />
|
||||||
<property name="database.console.LAST_STATE" value="false" />
|
<property name="database.console.LAST_STATE" value="false" />
|
||||||
<property name="extract.method.default.visibility" value="private" />
|
<property name="extract.method.default.visibility" value="private" />
|
||||||
@@ -498,7 +594,8 @@
|
|||||||
<workItem from="1546481590691" duration="518000" />
|
<workItem from="1546481590691" duration="518000" />
|
||||||
<workItem from="1546482678909" duration="5004000" />
|
<workItem from="1546482678909" duration="5004000" />
|
||||||
<workItem from="1546533252017" duration="4537000" />
|
<workItem from="1546533252017" duration="4537000" />
|
||||||
<workItem from="1546719990258" duration="2929000" />
|
<workItem from="1546719990258" duration="3560000" />
|
||||||
|
<workItem from="1546732125785" duration="4070000" />
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00001" summary="First!! :3 Existe una pequeña base de proyecto por ahora">
|
<task id="LOCAL-00001" summary="First!! :3 Existe una pequeña base de proyecto por ahora">
|
||||||
<created>1545280618093</created>
|
<created>1545280618093</created>
|
||||||
@@ -689,11 +786,18 @@
|
|||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1546720253879</updated>
|
<updated>1546720253879</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="28" />
|
<task id="LOCAL-00028" summary="Agregado nro z inicial y nro z final a tabla ingresos">
|
||||||
|
<created>1546722949902</created>
|
||||||
|
<option name="number" value="00028" />
|
||||||
|
<option name="presentableId" value="LOCAL-00028" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1546722949902</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="29" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TimeTrackingManager">
|
<component name="TimeTrackingManager">
|
||||||
<option name="totallyTimeSpent" value="204921000" />
|
<option name="totallyTimeSpent" value="209622000" />
|
||||||
</component>
|
</component>
|
||||||
<component name="TodoView">
|
<component name="TodoView">
|
||||||
<todo-panel id="selected-file">
|
<todo-panel id="selected-file">
|
||||||
@@ -711,7 +815,7 @@
|
|||||||
<window_info content_ui="combo" id="Project" order="0" sideWeight="0.49438202" weight="0.20776255" />
|
<window_info content_ui="combo" id="Project" order="0" sideWeight="0.49438202" weight="0.20776255" />
|
||||||
<window_info id="Image Layers" order="1" />
|
<window_info id="Image Layers" order="1" />
|
||||||
<window_info id="Designer" order="2" />
|
<window_info id="Designer" order="2" />
|
||||||
<window_info x="458" y="95" width="450" height="453" id="UI Designer" order="3" visible="true" weight="0.32952815" />
|
<window_info x="458" y="95" width="450" height="453" id="UI Designer" order="3" weight="0.32952815" />
|
||||||
<window_info id="Capture Tool" order="4" />
|
<window_info id="Capture Tool" order="4" />
|
||||||
<window_info id="Favorites" order="5" show_stripe_button="false" sideWeight="0.505618" side_tool="true" weight="0.17275494" />
|
<window_info id="Favorites" order="5" show_stripe_button="false" sideWeight="0.505618" side_tool="true" weight="0.17275494" />
|
||||||
<window_info id="simpleUML" order="6" weight="0.329429" />
|
<window_info id="simpleUML" order="6" weight="0.329429" />
|
||||||
@@ -797,7 +901,6 @@
|
|||||||
<component name="VcsManagerConfiguration">
|
<component name="VcsManagerConfiguration">
|
||||||
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
||||||
<option name="CHECK_NEW_TODO" value="false" />
|
<option name="CHECK_NEW_TODO" value="false" />
|
||||||
<MESSAGE value="First!! :3 Existe una pequeña base de proyecto por ahora" />
|
|
||||||
<MESSAGE value="Creada ventana principal para mostrar el resto de ellas en un cardlayout!" />
|
<MESSAGE value="Creada ventana principal para mostrar el resto de ellas en un cardlayout!" />
|
||||||
<MESSAGE value="Cambiado el egresotablemodel para que acepte un egreso como modelo para llenar la tabla" />
|
<MESSAGE value="Cambiado el egresotablemodel para que acepte un egreso como modelo para llenar la tabla" />
|
||||||
<MESSAGE value="Ahora el modelo de egreso se autocarga con el objeto de tipo egreso en vez de con su id" />
|
<MESSAGE value="Ahora el modelo de egreso se autocarga con el objeto de tipo egreso en vez de con su id" />
|
||||||
@@ -822,15 +925,14 @@
|
|||||||
<MESSAGE value="Mas documentacion y cambiados la mayoria de los action listeners por keybindings" />
|
<MESSAGE value="Mas documentacion y cambiados la mayoria de los action listeners por keybindings" />
|
||||||
<MESSAGE value="Comodidades! Arreglado el problema de index al ordenar las tablas" />
|
<MESSAGE value="Comodidades! Arreglado el problema de index al ordenar las tablas" />
|
||||||
<MESSAGE value="Reordenado el resumen de arqueo para mayor claridad" />
|
<MESSAGE value="Reordenado el resumen de arqueo para mayor claridad" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="Reordenado el resumen de arqueo para mayor claridad" />
|
<MESSAGE value="Agregado nro z inicial y nro z final a tabla ingresos" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="Agregado nro z inicial y nro z final a tabla ingresos" />
|
||||||
</component>
|
</component>
|
||||||
<component name="antWorkspaceConfiguration">
|
<component name="antWorkspaceConfiguration">
|
||||||
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
|
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
|
||||||
<option name="FILTER_TARGETS" value="false" />
|
<option name="FILTER_TARGETS" value="false" />
|
||||||
</component>
|
</component>
|
||||||
<component name="editorHistoryManager">
|
<component name="editorHistoryManager">
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/danielcortes/xyz/models/ingreso/MysqlIngresoDAO.java" />
|
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/danielcortes/xyz/models/ingreso/IngresoDAO.java" />
|
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/danielcortes/xyz/models/tipo_egreso/MysqlTipoEgresoDAO.java" />
|
<entry file="file://$PROJECT_DIR$/src/main/java/danielcortes/xyz/models/tipo_egreso/MysqlTipoEgresoDAO.java" />
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/danielcortes/xyz/models/tipo_egreso/SQLiteTipoEgresoDAO.java" />
|
<entry file="file://$PROJECT_DIR$/src/main/java/danielcortes/xyz/models/tipo_egreso/SQLiteTipoEgresoDAO.java" />
|
||||||
<entry file="file://$PROJECT_DIR$/src/main/java/danielcortes/xyz/models/tipo_egreso/TipoEgresoDAO.java" />
|
<entry file="file://$PROJECT_DIR$/src/main/java/danielcortes/xyz/models/tipo_egreso/TipoEgresoDAO.java" />
|
||||||
@@ -1118,90 +1220,6 @@
|
|||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/danielcortes/xyz/views/ArqueoView.form">
|
|
||||||
<provider selected="true" editor-type-id="ui-designer" />
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/src/danielcortes/xyz/controllers/ArqueoController.java">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="-612">
|
|
||||||
<caret line="115" column="31" selection-start-line="115" selection-start-column="31" selection-end-line="115" selection-end-column="31" />
|
|
||||||
<folding>
|
|
||||||
<element signature="docComment;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#ArqueoController#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#ArqueoController#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#updateCaja#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#updateCaja#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#updateResumen#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#fillEfectivo#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#fillEfectivo#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#fillDocumentos#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#fillDocumentos#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#fillResumen#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#fillResumen#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#updateResumenEfectivo#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#updateResumenEfectivo#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#updateResumenDocumentos#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#updateResumenDocumentos#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#updateResumenEgresos#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#updateResumenEgresos#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#updateResumenArqueo#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#updateResumenArqueo#0;class#ArqueoController#0" />
|
|
||||||
<element signature="e#7246#7335#1" />
|
|
||||||
<element signature="e#7339#7426#1" />
|
|
||||||
<element signature="docComment;method#setUpViewEvents#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#setUpViewEvents#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#guardarEfectivoActionListener#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#guardarEfectivoActionListener#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#guardarDocumentosActionListener#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#guardarDocumentosActionListener#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#guardarEfectivo#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#guardarEfectivo#0;class#ArqueoController#0" />
|
|
||||||
<element signature="e#12059#12778#1" />
|
|
||||||
<element signature="docComment;method#guardarDocumentos#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#guardarDocumentos#0;class#ArqueoController#0" />
|
|
||||||
<element signature="e#13267#13558#1" />
|
|
||||||
<element signature="docComment;method#validateEfectivoInput#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#validateEfectivoInput#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#validateDocumentosInput#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#validateDocumentosInput#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#validateEfectivoMoneda#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#validateEfectivoMoneda#0;class#ArqueoController#0" />
|
|
||||||
<element signature="e#15950#16094#1" />
|
|
||||||
<element signature="e#16125#16258#1" />
|
|
||||||
<element signature="e#16317#16448#1" />
|
|
||||||
<element signature="e#16483#16635#1" />
|
|
||||||
<element signature="docComment;method#validateDocumentosValor#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#validateDocumentosValor#0;class#ArqueoController#0" />
|
|
||||||
<element signature="e#17154#17298#1" />
|
|
||||||
<element signature="e#17329#17462#1" />
|
|
||||||
<element signature="e#17521#17652#1" />
|
|
||||||
<element signature="e#17687#17839#1" />
|
|
||||||
<element signature="docComment;method#hiddeEfectivoErrorMessages#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#hiddeEfectivoErrorMessages#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#hiddeDocumentosErrorMessages#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#hiddeDocumentosErrorMessages#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#normalizeEfectivoInput#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#normalizeEfectivoInput#0;class#ArqueoController#0" />
|
|
||||||
<element signature="docComment;method#normalizeDocumentosInput#0;class#ArqueoController#0" />
|
|
||||||
<element signature="method#normalizeDocumentosInput#0;class#ArqueoController#0" />
|
|
||||||
<element signature="class#GuardarEfectivoAction#0;class#ArqueoController#0" />
|
|
||||||
<element signature="n#!!block;n#GuardarEfectivoAction#0;n#GuardarEfectivoAction#0;n#ArqueoController#0" />
|
|
||||||
<element signature="class#GuardarDocumentosAction#0;class#ArqueoController#0" />
|
|
||||||
<element signature="n#!!block;n#GuardarDocumentosAction#0;n#GuardarDocumentosAction#0;n#ArqueoController#0" />
|
|
||||||
</folding>
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/src/danielcortes/xyz/views/ArqueoView.java">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="-389">
|
|
||||||
<caret line="128" selection-start-line="128" selection-end-line="128" />
|
|
||||||
<folding>
|
|
||||||
<element signature="imports" expanded="true" />
|
|
||||||
</folding>
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/6e2ee496-6ca2-4cc4-a2b0-4f122e6bfd50/console.sql">
|
<entry file="file://$APPLICATION_CONFIG_DIR$/consoles/db/6e2ee496-6ca2-4cc4-a2b0-4f122e6bfd50/console.sql">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="598">
|
<state relative-caret-position="598">
|
||||||
@@ -1403,6 +1421,148 @@
|
|||||||
<entry file="file://$PROJECT_DIR$/src/danielcortes/xyz/views/IngresosView.form">
|
<entry file="file://$PROJECT_DIR$/src/danielcortes/xyz/views/IngresosView.form">
|
||||||
<provider selected="true" editor-type-id="ui-designer" />
|
<provider selected="true" editor-type-id="ui-designer" />
|
||||||
</entry>
|
</entry>
|
||||||
|
<entry file="jar:///usr/lib/jvm/java-11-openjdk/lib/src.zip!/java.base/java/text/NumberFormat.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="-6105">
|
||||||
|
<caret line="267" column="31" selection-start-line="267" selection-start-column="24" selection-end-line="267" selection-end-column="31" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/danielcortes/xyz/views/components/NumberFormatedTextField.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="370">
|
||||||
|
<caret line="89" column="52" selection-start-line="89" selection-start-column="52" selection-end-line="89" selection-end-column="52" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
<element signature="method#NumberFormatedTextField#0;class#NumberFormatedTextField#0" />
|
||||||
|
<element signature="n#!!block;n#setValue#0;n#NumberFormatedTextField#0" />
|
||||||
|
<element signature="n#!!block;n#getValue#0;n#NumberFormatedTextField#0" />
|
||||||
|
<element signature="method#readValue#0;class#NumberFormatedTextField#0" />
|
||||||
|
<element signature="e#1935#1992#0" />
|
||||||
|
<element signature="e#2018#2092#1" />
|
||||||
|
<element signature="e#2018#2062#0" />
|
||||||
|
<element signature="n#!!block;n#formatText#0;n#NumberFormatedTextField#0" />
|
||||||
|
<element signature="class#FieldFocusListener#0;class#NumberFormatedTextField#0" />
|
||||||
|
<element signature="docComment;method#focusGained#0;class#FieldFocusListener#0;class#NumberFormatedTextField#0" />
|
||||||
|
<element signature="docComment;method#focusLost#0;class#FieldFocusListener#0;class#NumberFormatedTextField#0" />
|
||||||
|
<element signature="method#focusLost#0;class#FieldFocusListener#0;class#NumberFormatedTextField#0" />
|
||||||
|
<element signature="class#FieldKeyAdapter#0;class#NumberFormatedTextField#0" />
|
||||||
|
<element signature="docComment;method#keyTyped#0;class#FieldKeyAdapter#0;class#NumberFormatedTextField#0" />
|
||||||
|
<element signature="method#keyTyped#0;class#FieldKeyAdapter#0;class#NumberFormatedTextField#0" />
|
||||||
|
<element signature="e#3157#3405#1" />
|
||||||
|
<element signature="e#3137#3208#0" />
|
||||||
|
<element signature="e#3235#3288#0" />
|
||||||
|
<element signature="e#2848#2900#1" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/danielcortes/xyz/views/ArqueoView.form">
|
||||||
|
<provider selected="true" editor-type-id="ui-designer" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/danielcortes/xyz/controllers/ArqueoController.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="25">
|
||||||
|
<caret line="285" column="5" selection-start-line="285" selection-start-column="5" selection-end-line="285" selection-end-column="5" />
|
||||||
|
<folding>
|
||||||
|
<element signature="docComment;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#ArqueoController#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#ArqueoController#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#updateCaja#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#updateCaja#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#updateResumen#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#fillEfectivo#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#fillEfectivo#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#fillDocumentos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#fillDocumentos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#fillResumen#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#fillResumen#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#updateResumenEfectivo#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#updateResumenDocumentos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#updateResumenDocumentos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#updateResumenEgresos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#updateResumenEgresos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#updateResumenArqueo#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#updateResumenArqueo#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#setUpViewEvents#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#guardarEfectivoActionListener#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#guardarDocumentosActionListener#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#guardarDocumentosActionListener#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#guardarEfectivo#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#guardarDocumentos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#guardarDocumentos#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#validateDocumentosInput#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#validateDocumentosInput#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#validateDocumentosValor#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#validateDocumentosValor#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#hiddeEfectivoErrorMessages#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#hiddeEfectivoErrorMessages#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#hiddeDocumentosErrorMessages#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#hiddeDocumentosErrorMessages#0;class#ArqueoController#0" />
|
||||||
|
<element signature="docComment;method#normalizeDocumentosInput#0;class#ArqueoController#0" />
|
||||||
|
<element signature="method#normalizeDocumentosInput#0;class#ArqueoController#0" />
|
||||||
|
<element signature="class#GuardarEfectivoAction#0;class#ArqueoController#0" />
|
||||||
|
<element signature="n#!!block;n#GuardarEfectivoAction#0;n#GuardarEfectivoAction#0;n#ArqueoController#0" />
|
||||||
|
<element signature="class#GuardarDocumentosAction#0;class#ArqueoController#0" />
|
||||||
|
<element signature="n#!!block;n#GuardarDocumentosAction#0;n#GuardarDocumentosAction#0;n#ArqueoController#0" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/danielcortes/xyz/views/ArqueoView.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="-67">
|
||||||
|
<caret line="130" column="5" selection-start-line="130" selection-start-column="5" selection-end-line="130" selection-end-column="5" />
|
||||||
|
<folding>
|
||||||
|
<element signature="imports" expanded="true" />
|
||||||
|
<element signature="e#2776#2777#0" expanded="true" />
|
||||||
|
<element signature="e#2811#2812#0" expanded="true" />
|
||||||
|
<element signature="e#2869#2870#0" expanded="true" />
|
||||||
|
<element signature="e#2906#2907#0" expanded="true" />
|
||||||
|
<element signature="e#2962#2963#0" expanded="true" />
|
||||||
|
<element signature="e#2997#2998#0" expanded="true" />
|
||||||
|
<element signature="e#3054#3055#0" expanded="true" />
|
||||||
|
<element signature="e#3090#3091#0" expanded="true" />
|
||||||
|
<element signature="e#3145#3146#0" expanded="true" />
|
||||||
|
<element signature="e#3179#3180#0" expanded="true" />
|
||||||
|
<element signature="e#3231#3232#0" expanded="true" />
|
||||||
|
<element signature="e#3262#3263#0" expanded="true" />
|
||||||
|
<element signature="e#3321#3322#0" expanded="true" />
|
||||||
|
<element signature="e#3359#3360#0" expanded="true" />
|
||||||
|
<element signature="e#3412#3413#0" expanded="true" />
|
||||||
|
<element signature="e#3444#3445#0" expanded="true" />
|
||||||
|
<element signature="e#3502#3503#0" expanded="true" />
|
||||||
|
<element signature="e#3539#3540#0" expanded="true" />
|
||||||
|
<element signature="e#3592#3593#0" expanded="true" />
|
||||||
|
<element signature="e#3624#3625#0" expanded="true" />
|
||||||
|
<element signature="e#3667#3668#0" expanded="true" />
|
||||||
|
<element signature="e#3702#3703#0" expanded="true" />
|
||||||
|
<element signature="e#3746#3747#0" expanded="true" />
|
||||||
|
<element signature="e#3782#3783#0" expanded="true" />
|
||||||
|
<element signature="e#3826#3827#0" expanded="true" />
|
||||||
|
<element signature="e#3862#3863#0" expanded="true" />
|
||||||
|
<element signature="e#3908#3909#0" expanded="true" />
|
||||||
|
<element signature="e#3946#3947#0" expanded="true" />
|
||||||
|
<element signature="e#3989#3990#0" expanded="true" />
|
||||||
|
<element signature="e#4024#4025#0" expanded="true" />
|
||||||
|
<element signature="e#4067#4068#0" expanded="true" />
|
||||||
|
<element signature="e#4102#4103#0" expanded="true" />
|
||||||
|
<element signature="e#4151#4152#0" expanded="true" />
|
||||||
|
<element signature="e#4195#4196#0" expanded="true" />
|
||||||
|
<element signature="e#4246#4247#0" expanded="true" />
|
||||||
|
<element signature="e#4292#4293#0" expanded="true" />
|
||||||
|
<element signature="e#4991#4992#0" expanded="true" />
|
||||||
|
<element signature="e#5026#5027#0" expanded="true" />
|
||||||
|
<element signature="e#5066#5067#0" expanded="true" />
|
||||||
|
<element signature="e#5102#5103#0" expanded="true" />
|
||||||
|
<element signature="e#5148#5149#0" expanded="true" />
|
||||||
|
<element signature="e#5186#5187#0" expanded="true" />
|
||||||
|
<element signature="e#5232#5233#0" expanded="true" />
|
||||||
|
<element signature="e#5270#5271#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
</component>
|
</component>
|
||||||
<component name="masterDetails">
|
<component name="masterDetails">
|
||||||
<states>
|
<states>
|
||||||
|
|||||||
BIN
dist/caja.jar
vendored
BIN
dist/caja.jar
vendored
Binary file not shown.
BIN
dist/database.sqlite
vendored
BIN
dist/database.sqlite
vendored
Binary file not shown.
@@ -90,15 +90,15 @@ public class ArqueoController {
|
|||||||
*/
|
*/
|
||||||
private void fillEfectivo() {
|
private void fillEfectivo() {
|
||||||
this.efectivo = this.efectivoDAO.findByCaja(this.caja);
|
this.efectivo = this.efectivoDAO.findByCaja(this.caja);
|
||||||
this.view.getVeinteMilField().setText(String.valueOf(efectivo.getVeinteMil()));
|
this.view.getVeinteMilField().setValue(efectivo.getVeinteMil());
|
||||||
this.view.getDiezMilField().setText(String.valueOf(efectivo.getDiezMil()));
|
this.view.getDiezMilField().setValue(efectivo.getDiezMil());
|
||||||
this.view.getCincoMilField().setText(String.valueOf(efectivo.getCincoMil()));
|
this.view.getCincoMilField().setValue(efectivo.getCincoMil());
|
||||||
this.view.getDosMilField().setText(String.valueOf(efectivo.getDosMil()));
|
this.view.getDosMilField().setValue(efectivo.getDosMil());
|
||||||
this.view.getMilField().setText(String.valueOf(efectivo.getMil()));
|
this.view.getMilField().setValue(efectivo.getMil());
|
||||||
this.view.getQuinientosField().setText(String.valueOf(efectivo.getQuinientos()));
|
this.view.getQuinientosField().setValue(efectivo.getQuinientos());
|
||||||
this.view.getCienField().setText(String.valueOf(efectivo.getCien()));
|
this.view.getCienField().setValue(efectivo.getCien());
|
||||||
this.view.getCincuentaField().setText(String.valueOf(efectivo.getCincuenta()));
|
this.view.getCincuentaField().setValue(efectivo.getCincuenta());
|
||||||
this.view.getDiezField().setText(String.valueOf(efectivo.getDiez()));
|
this.view.getDiezField().setValue(efectivo.getDiez());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -223,8 +223,7 @@ public class ArqueoController {
|
|||||||
* Primero llama a normalizar el input, luego a esconder los mensajes de error, para finalmente llamar a guardar el efectivo
|
* Primero llama a normalizar el input, luego a esconder los mensajes de error, para finalmente llamar a guardar el efectivo
|
||||||
*/
|
*/
|
||||||
private void guardarEfectivoActionListener(){
|
private void guardarEfectivoActionListener(){
|
||||||
this.normalizeEfectivoInput();
|
this.view.getGuardarEfectivoButton().requestFocus();
|
||||||
this.hiddeEfectivoErrorMessages();
|
|
||||||
this.guardarEfectivo();
|
this.guardarEfectivo();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -243,32 +242,30 @@ public class ArqueoController {
|
|||||||
* llama a updateResumenEfectivo y updateResumenArqueo para actualizar los datos en efectivoField y arqueoField
|
* llama a updateResumenEfectivo y updateResumenArqueo para actualizar los datos en efectivoField y arqueoField
|
||||||
*/
|
*/
|
||||||
private void guardarEfectivo() {
|
private void guardarEfectivo() {
|
||||||
String diez = this.view.getDiezField().getText();
|
int diez = this.view.getDiezField().getValue();
|
||||||
String cincuenta = this.view.getCincuentaField().getText();
|
int cincuenta = this.view.getCincuentaField().getValue();
|
||||||
String cien = this.view.getCienField().getText();
|
int cien = this.view.getCienField().getValue();
|
||||||
String quinientos = this.view.getQuinientosField().getText();
|
int quinientos = this.view.getQuinientosField().getValue();
|
||||||
String mil = this.view.getMilField().getText();
|
int mil = this.view.getMilField().getValue();
|
||||||
String dosMil = this.view.getDosMilField().getText();
|
int dosMil = this.view.getDosMilField().getValue();
|
||||||
String cincoMil = this.view.getCincoMilField().getText();
|
int cincoMil = this.view.getCincoMilField().getValue();
|
||||||
String diezMil = this.view.getDiezMilField().getText();
|
int diezMil = this.view.getDiezMilField().getValue();
|
||||||
String veinteMil = this.view.getVeinteMilField().getText();
|
int veinteMil = this.view.getVeinteMilField().getValue();
|
||||||
|
|
||||||
if (this.validateEfectivoInput(diez, cincuenta, cien, quinientos, mil, dosMil, cincoMil, diezMil, veinteMil)) {
|
this.efectivo.setDiez(diez);
|
||||||
this.efectivo.setDiez(Integer.valueOf(diez));
|
this.efectivo.setCincuenta(cincuenta);
|
||||||
this.efectivo.setCincuenta(Integer.valueOf(cincuenta));
|
this.efectivo.setCien(cien);
|
||||||
this.efectivo.setCien(Integer.valueOf(cien));
|
this.efectivo.setQuinientos(quinientos);
|
||||||
this.efectivo.setQuinientos(Integer.valueOf(quinientos));
|
this.efectivo.setMil(mil);
|
||||||
this.efectivo.setMil(Integer.valueOf(mil));
|
this.efectivo.setDosMil(dosMil);
|
||||||
this.efectivo.setDosMil(Integer.valueOf(dosMil));
|
this.efectivo.setCincoMil(cincoMil);
|
||||||
this.efectivo.setCincoMil(Integer.valueOf(cincoMil));
|
this.efectivo.setDiezMil(diezMil);
|
||||||
this.efectivo.setDiezMil(Integer.valueOf(diezMil));
|
this.efectivo.setVeinteMil(veinteMil);
|
||||||
this.efectivo.setVeinteMil(Integer.valueOf(veinteMil));
|
|
||||||
this.efectivoDAO.updateEfectivo(efectivo);
|
this.efectivoDAO.updateEfectivo(efectivo);
|
||||||
|
|
||||||
this.updateResumenEfectivo();
|
this.updateResumenEfectivo();
|
||||||
this.updateResumenArqueo();
|
this.updateResumenArqueo();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Guarda los datos del detalle de documentos solo despues de que los campos sean validados, luego de guardar
|
* Guarda los datos del detalle de documentos solo despues de que los campos sean validados, luego de guardar
|
||||||
@@ -288,25 +285,6 @@ public class ArqueoController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Llama a las validaciones necesarias para el input de Efectivo
|
|
||||||
* @return si es que paso todas las validaciones.
|
|
||||||
*/
|
|
||||||
private boolean validateEfectivoInput(String diez, String cincuenta, String cien, String quinientos, String mil, String dosMil, String cincoMil, String diezMil, String veinteMil) {
|
|
||||||
|
|
||||||
boolean diezValidation = validateEfectivoMoneda(diez, this.view.getErrorDiez());
|
|
||||||
boolean cincuentaValidation = validateEfectivoMoneda(cincuenta, this.view.getErrorCincuenta());
|
|
||||||
boolean cienValidation = validateEfectivoMoneda(cien, this.view.getErrorCien());
|
|
||||||
boolean quinientosValidation = validateEfectivoMoneda(quinientos, this.view.getErrorQuinientos());
|
|
||||||
boolean milValidation = validateEfectivoMoneda(mil, this.view.getErrorMil());
|
|
||||||
boolean dosMilValidation = validateEfectivoMoneda(dosMil, this.view.getErrorDosMil());
|
|
||||||
boolean cincoMilValidation = validateEfectivoMoneda(cincoMil, this.view.getErrorCincoMil());
|
|
||||||
boolean diezMilValidation = validateEfectivoMoneda(diezMil, this.view.getErrorDiezMil());
|
|
||||||
boolean veinteMilValidation = validateEfectivoMoneda(veinteMil, this.view.getErrorVeinteMil());
|
|
||||||
|
|
||||||
return diezValidation && cincuentaValidation && cienValidation && quinientosValidation && milValidation && dosMilValidation && cincoMilValidation && diezMilValidation && veinteMilValidation;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Llama a las validaciones necesarias el input de Documentos
|
* Llama a las validaciones necesarias el input de Documentos
|
||||||
* @return si es que todas las validaciones fueron correctas
|
* @return si es que todas las validaciones fueron correctas
|
||||||
@@ -319,43 +297,6 @@ public class ArqueoController {
|
|||||||
return tarjetasValidation && chequesValidation;
|
return tarjetasValidation && chequesValidation;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Valida el valor entregado contra las siguientes pruebas
|
|
||||||
* - Es null
|
|
||||||
* - Esta vacio
|
|
||||||
* - Los caracteres no son solamente digitos
|
|
||||||
* - El largo es mayor que diez
|
|
||||||
* Setea un mensaje de error correspondiente en el errorLabel entregado.
|
|
||||||
* @return cuando cualquiera de los casos anteriores sea true se retorna falso, si no retorna true.
|
|
||||||
*/
|
|
||||||
private boolean validateEfectivoMoneda(String valor, JLabel errorLabel) {
|
|
||||||
if (valor == null) {
|
|
||||||
errorLabel.setText("Hubo un problema con los datos");
|
|
||||||
errorLabel.setVisible(true);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (valor.isEmpty()) {
|
|
||||||
errorLabel.setText("El campo esta vacio");
|
|
||||||
errorLabel.setVisible(true);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!valor.chars().allMatch(Character::isDigit)) {
|
|
||||||
errorLabel.setText("Deben ser numeros");
|
|
||||||
errorLabel.setVisible(true);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (valor.length() > 10) {
|
|
||||||
errorLabel.setText("El numero ingresado es demasiado largo");
|
|
||||||
errorLabel.setVisible(true);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Valida el valor entregado contra las siguientes pruebas
|
* Valida el valor entregado contra las siguientes pruebas
|
||||||
* - Es null
|
* - Es null
|
||||||
@@ -394,21 +335,6 @@ public class ArqueoController {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Esconde los mensajes de error de los campos de efectivo
|
|
||||||
*/
|
|
||||||
private void hiddeEfectivoErrorMessages() {
|
|
||||||
this.view.getErrorDiez().setVisible(false);
|
|
||||||
this.view.getErrorCincuenta().setVisible(false);
|
|
||||||
this.view.getErrorCien().setVisible(false);
|
|
||||||
this.view.getErrorQuinientos().setVisible(false);
|
|
||||||
this.view.getErrorMil().setVisible(false);
|
|
||||||
this.view.getErrorDosMil().setVisible(false);
|
|
||||||
this.view.getErrorCincoMil().setVisible(false);
|
|
||||||
this.view.getErrorDiezMil().setVisible(false);
|
|
||||||
this.view.getErrorVeinteMil().setVisible(false);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Esconde los mensajes de error en los campos de documentos
|
* Esconde los mensajes de error en los campos de documentos
|
||||||
*/
|
*/
|
||||||
@@ -417,21 +343,6 @@ public class ArqueoController {
|
|||||||
this.view.getErrorCheques().setVisible(false);
|
this.view.getErrorCheques().setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Ejecuta trim sobre todos los campos de efectivo
|
|
||||||
*/
|
|
||||||
private void normalizeEfectivoInput() {
|
|
||||||
this.view.getDiezField().setText(this.view.getDiezField().getText().trim());
|
|
||||||
this.view.getCincuentaField().setText(this.view.getCincuentaField().getText().trim());
|
|
||||||
this.view.getCienField().setText(this.view.getCienField().getText().trim());
|
|
||||||
this.view.getQuinientosField().setText(this.view.getQuinientosField().getText().trim());
|
|
||||||
this.view.getMilField().setText(this.view.getMilField().getText().trim());
|
|
||||||
this.view.getDosMilField().setText(this.view.getDosMilField().getText().trim());
|
|
||||||
this.view.getCincoMilField().setText(this.view.getCincoMilField().getText().trim());
|
|
||||||
this.view.getDiezMilField().setText(this.view.getDiezMilField().getText().trim());
|
|
||||||
this.view.getVeinteMilField().setText(this.view.getVeinteMilField().getText().trim());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ejecuta trim sobre todos los campos de documentos
|
* Ejecuta trim sobre todos los campos de documentos
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="danielcortes.xyz.views.ArqueoView">
|
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="danielcortes.xyz.views.ArqueoView">
|
||||||
<grid id="27dc6" binding="contentPanel" layout-manager="GridLayoutManager" row-count="2" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
<grid id="27dc6" binding="contentPanel" layout-manager="GridLayoutManager" row-count="3" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
||||||
<margin top="0" left="0" bottom="0" right="0"/>
|
<margin top="0" left="0" bottom="0" right="0"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<xy x="20" y="20" width="642" height="837"/>
|
<xy x="20" y="20" width="642" height="837"/>
|
||||||
@@ -146,12 +146,12 @@
|
|||||||
<grid id="b1b74" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
<grid id="b1b74" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
||||||
<margin top="0" left="0" bottom="0" right="0"/>
|
<margin top="0" left="0" bottom="0" right="0"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="0" column="0" row-span="2" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
|
<grid row="0" column="0" row-span="3" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties/>
|
<properties/>
|
||||||
<border type="none"/>
|
<border type="none"/>
|
||||||
<children>
|
<children>
|
||||||
<grid id="3f85f" layout-manager="GridLayoutManager" row-count="19" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
<grid id="3f85f" layout-manager="GridLayoutManager" row-count="10" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
||||||
<margin top="10" left="10" bottom="10" right="10"/>
|
<margin top="10" left="10" bottom="10" right="10"/>
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
|
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
|
||||||
@@ -169,47 +169,47 @@
|
|||||||
<text value="$20000"/>
|
<text value="$20000"/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="99f2e" class="javax.swing.JTextField" binding="veinteMilField">
|
<component id="89600" class="danielcortes.xyz.views.components.NumberFormatedTextField" binding="veinteMilField">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
||||||
<preferred-size width="200" height="-1"/>
|
<preferred-size width="200" height="-1"/>
|
||||||
</grid>
|
</grid>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="0"/>
|
<text value=""/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="584ed" class="javax.swing.JLabel">
|
<component id="584ed" class="javax.swing.JLabel">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="$10000"/>
|
<text value="$10000"/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="5431d" class="javax.swing.JTextField" binding="diezMilField">
|
<component id="ff144" class="danielcortes.xyz.views.components.NumberFormatedTextField" binding="diezMilField">
|
||||||
|
<constraints>
|
||||||
|
<grid row="1" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
||||||
|
<preferred-size width="200" height="-1"/>
|
||||||
|
</grid>
|
||||||
|
</constraints>
|
||||||
|
<properties>
|
||||||
|
<text value=""/>
|
||||||
|
</properties>
|
||||||
|
</component>
|
||||||
|
<component id="11196" class="danielcortes.xyz.views.components.NumberFormatedTextField" binding="cincoMilField">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="2" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
<grid row="2" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
||||||
<preferred-size width="200" height="-1"/>
|
<preferred-size width="200" height="-1"/>
|
||||||
</grid>
|
</grid>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="0"/>
|
<text value=""/>
|
||||||
</properties>
|
|
||||||
</component>
|
|
||||||
<component id="af49b" class="javax.swing.JTextField" binding="cincoMilField">
|
|
||||||
<constraints>
|
|
||||||
<grid row="4" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
|
||||||
<preferred-size width="200" height="-1"/>
|
|
||||||
</grid>
|
|
||||||
</constraints>
|
|
||||||
<properties>
|
|
||||||
<text value="0"/>
|
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="8d468" class="javax.swing.JLabel">
|
<component id="8d468" class="javax.swing.JLabel">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="4" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="$5000"/>
|
<text value="$5000"/>
|
||||||
@@ -217,35 +217,35 @@
|
|||||||
</component>
|
</component>
|
||||||
<component id="7a8c3" class="javax.swing.JLabel">
|
<component id="7a8c3" class="javax.swing.JLabel">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="6" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
<grid row="3" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="$2000"/>
|
<text value="$2000"/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="bbb4" class="javax.swing.JTextField" binding="dosMilField">
|
<component id="582c4" class="danielcortes.xyz.views.components.NumberFormatedTextField" binding="dosMilField">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="6" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
<grid row="3" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
||||||
<preferred-size width="200" height="-1"/>
|
<preferred-size width="200" height="-1"/>
|
||||||
</grid>
|
</grid>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="0"/>
|
<text value=""/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="4807e" class="javax.swing.JTextField" binding="milField">
|
<component id="4136e" class="danielcortes.xyz.views.components.NumberFormatedTextField" binding="milField">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="8" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
<grid row="4" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
||||||
<preferred-size width="200" height="-1"/>
|
<preferred-size width="200" height="-1"/>
|
||||||
</grid>
|
</grid>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="0"/>
|
<text value=""/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="e80c8" class="javax.swing.JLabel">
|
<component id="e80c8" class="javax.swing.JLabel">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="8" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
<grid row="4" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="$1000"/>
|
<text value="$1000"/>
|
||||||
@@ -253,79 +253,79 @@
|
|||||||
</component>
|
</component>
|
||||||
<component id="62d5d" class="javax.swing.JLabel">
|
<component id="62d5d" class="javax.swing.JLabel">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="10" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
<grid row="5" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="$500"/>
|
<text value="$500"/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="3d6c3" class="javax.swing.JTextField" binding="quinientosField">
|
<component id="31f7f" class="danielcortes.xyz.views.components.NumberFormatedTextField" binding="quinientosField">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="10" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
<grid row="5" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
||||||
<preferred-size width="200" height="-1"/>
|
<preferred-size width="200" height="-1"/>
|
||||||
</grid>
|
</grid>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="0"/>
|
<text value=""/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="7910b" class="javax.swing.JLabel">
|
<component id="7910b" class="javax.swing.JLabel">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="12" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
<grid row="6" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="$100"/>
|
<text value="$100"/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="8f6e8" class="javax.swing.JTextField" binding="cienField">
|
<component id="e113" class="danielcortes.xyz.views.components.NumberFormatedTextField" binding="cienField">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="12" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
<grid row="6" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
||||||
<preferred-size width="200" height="-1"/>
|
<preferred-size width="200" height="-1"/>
|
||||||
</grid>
|
</grid>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="0"/>
|
<text value=""/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="e105f" class="javax.swing.JLabel">
|
<component id="e105f" class="javax.swing.JLabel">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="14" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
<grid row="7" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="$50"/>
|
<text value="$50"/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="22b2c" class="javax.swing.JTextField" binding="cincuentaField">
|
<component id="e42bf" class="danielcortes.xyz.views.components.NumberFormatedTextField" binding="cincuentaField">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="14" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
<grid row="7" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
||||||
<preferred-size width="200" height="-1"/>
|
<preferred-size width="200" height="-1"/>
|
||||||
</grid>
|
</grid>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="0"/>
|
<text value=""/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="fcf59" class="javax.swing.JLabel">
|
<component id="fcf59" class="javax.swing.JLabel">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="16" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
<grid row="8" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="4" fill="0" indent="0" use-parent-layout="false"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="$10"/>
|
<text value="$10"/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="6f156" class="javax.swing.JTextField" binding="diezField">
|
<component id="5cbd1" class="danielcortes.xyz.views.components.NumberFormatedTextField" binding="diezField">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="16" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
<grid row="8" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
|
||||||
<preferred-size width="200" height="-1"/>
|
<preferred-size width="200" height="-1"/>
|
||||||
</grid>
|
</grid>
|
||||||
</constraints>
|
</constraints>
|
||||||
<properties>
|
<properties>
|
||||||
<text value="0"/>
|
<text value=""/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="a2c3f" class="javax.swing.JButton" binding="guardarEfectivoButton">
|
<component id="a2c3f" class="javax.swing.JButton" binding="guardarEfectivoButton">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="18" column="0" row-span="1" col-span="2" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false">
|
<grid row="9" column="0" row-span="1" col-span="2" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false">
|
||||||
<preferred-size width="200" height="-1"/>
|
<preferred-size width="200" height="-1"/>
|
||||||
</grid>
|
</grid>
|
||||||
</constraints>
|
</constraints>
|
||||||
@@ -333,96 +333,6 @@
|
|||||||
<text value="Guardar"/>
|
<text value="Guardar"/>
|
||||||
</properties>
|
</properties>
|
||||||
</component>
|
</component>
|
||||||
<component id="92070" class="javax.swing.JLabel" binding="errorVeinteMil">
|
|
||||||
<constraints>
|
|
||||||
<grid row="1" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
|
||||||
</constraints>
|
|
||||||
<properties>
|
|
||||||
<foreground color="-65536"/>
|
|
||||||
<text value="Error"/>
|
|
||||||
<visible value="false"/>
|
|
||||||
</properties>
|
|
||||||
</component>
|
|
||||||
<component id="52622" class="javax.swing.JLabel" binding="errorDiezMil">
|
|
||||||
<constraints>
|
|
||||||
<grid row="3" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
|
||||||
</constraints>
|
|
||||||
<properties>
|
|
||||||
<foreground color="-65536"/>
|
|
||||||
<text value="Error"/>
|
|
||||||
<visible value="false"/>
|
|
||||||
</properties>
|
|
||||||
</component>
|
|
||||||
<component id="12e87" class="javax.swing.JLabel" binding="errorCincoMil">
|
|
||||||
<constraints>
|
|
||||||
<grid row="5" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
|
||||||
</constraints>
|
|
||||||
<properties>
|
|
||||||
<foreground color="-65536"/>
|
|
||||||
<text value="Error"/>
|
|
||||||
<visible value="false"/>
|
|
||||||
</properties>
|
|
||||||
</component>
|
|
||||||
<component id="c4ae2" class="javax.swing.JLabel" binding="errorDosMil">
|
|
||||||
<constraints>
|
|
||||||
<grid row="7" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
|
||||||
</constraints>
|
|
||||||
<properties>
|
|
||||||
<foreground color="-65536"/>
|
|
||||||
<text value="Error"/>
|
|
||||||
<visible value="false"/>
|
|
||||||
</properties>
|
|
||||||
</component>
|
|
||||||
<component id="78dc8" class="javax.swing.JLabel" binding="errorMil">
|
|
||||||
<constraints>
|
|
||||||
<grid row="9" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
|
||||||
</constraints>
|
|
||||||
<properties>
|
|
||||||
<foreground color="-65536"/>
|
|
||||||
<text value="Error"/>
|
|
||||||
<visible value="false"/>
|
|
||||||
</properties>
|
|
||||||
</component>
|
|
||||||
<component id="f9374" class="javax.swing.JLabel" binding="errorQuinientos">
|
|
||||||
<constraints>
|
|
||||||
<grid row="11" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
|
||||||
</constraints>
|
|
||||||
<properties>
|
|
||||||
<foreground color="-65536"/>
|
|
||||||
<text value="Error"/>
|
|
||||||
<visible value="false"/>
|
|
||||||
</properties>
|
|
||||||
</component>
|
|
||||||
<component id="b7c59" class="javax.swing.JLabel" binding="errorCien">
|
|
||||||
<constraints>
|
|
||||||
<grid row="13" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
|
||||||
</constraints>
|
|
||||||
<properties>
|
|
||||||
<foreground color="-65536"/>
|
|
||||||
<text value="Error"/>
|
|
||||||
<visible value="false"/>
|
|
||||||
</properties>
|
|
||||||
</component>
|
|
||||||
<component id="c66e5" class="javax.swing.JLabel" binding="errorCincuenta">
|
|
||||||
<constraints>
|
|
||||||
<grid row="15" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
|
||||||
</constraints>
|
|
||||||
<properties>
|
|
||||||
<foreground color="-65536"/>
|
|
||||||
<text value="Error"/>
|
|
||||||
<visible value="false"/>
|
|
||||||
</properties>
|
|
||||||
</component>
|
|
||||||
<component id="fa2bc" class="javax.swing.JLabel" binding="errorDiez">
|
|
||||||
<constraints>
|
|
||||||
<grid row="17" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
|
||||||
</constraints>
|
|
||||||
<properties>
|
|
||||||
<foreground color="-65536"/>
|
|
||||||
<text value="Error"/>
|
|
||||||
<visible value="false"/>
|
|
||||||
</properties>
|
|
||||||
</component>
|
|
||||||
</children>
|
</children>
|
||||||
</grid>
|
</grid>
|
||||||
<grid id="1ca11" layout-manager="GridLayoutManager" row-count="5" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
<grid id="1ca11" layout-manager="GridLayoutManager" row-count="5" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
|
||||||
@@ -505,7 +415,7 @@
|
|||||||
</grid>
|
</grid>
|
||||||
<vspacer id="d3dd4">
|
<vspacer id="d3dd4">
|
||||||
<constraints>
|
<constraints>
|
||||||
<grid row="1" column="1" row-span="1" col-span="1" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false"/>
|
<grid row="2" column="1" row-span="1" col-span="1" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false"/>
|
||||||
</constraints>
|
</constraints>
|
||||||
</vspacer>
|
</vspacer>
|
||||||
</children>
|
</children>
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ package danielcortes.xyz.views;
|
|||||||
import com.intellij.uiDesigner.core.GridConstraints;
|
import com.intellij.uiDesigner.core.GridConstraints;
|
||||||
import com.intellij.uiDesigner.core.GridLayoutManager;
|
import com.intellij.uiDesigner.core.GridLayoutManager;
|
||||||
import com.intellij.uiDesigner.core.Spacer;
|
import com.intellij.uiDesigner.core.Spacer;
|
||||||
|
import danielcortes.xyz.views.components.NumberFormatedTextField;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
import javax.swing.border.TitledBorder;
|
import javax.swing.border.TitledBorder;
|
||||||
@@ -35,15 +36,15 @@ import java.awt.*;
|
|||||||
|
|
||||||
public class ArqueoView {
|
public class ArqueoView {
|
||||||
private JPanel contentPanel;
|
private JPanel contentPanel;
|
||||||
private JTextField veinteMilField;
|
private NumberFormatedTextField veinteMilField;
|
||||||
private JTextField diezMilField;
|
private NumberFormatedTextField diezMilField;
|
||||||
private JTextField cincoMilField;
|
private NumberFormatedTextField cincoMilField;
|
||||||
private JTextField dosMilField;
|
private NumberFormatedTextField dosMilField;
|
||||||
private JTextField milField;
|
private NumberFormatedTextField milField;
|
||||||
private JTextField quinientosField;
|
private NumberFormatedTextField quinientosField;
|
||||||
private JTextField cienField;
|
private NumberFormatedTextField cienField;
|
||||||
private JTextField cincuentaField;
|
private NumberFormatedTextField cincuentaField;
|
||||||
private JTextField diezField;
|
private NumberFormatedTextField diezField;
|
||||||
private JTextField chequesField;
|
private JTextField chequesField;
|
||||||
private JTextField tarjetasField;
|
private JTextField tarjetasField;
|
||||||
private JTextField efectivoField;
|
private JTextField efectivoField;
|
||||||
@@ -52,15 +53,6 @@ public class ArqueoView {
|
|||||||
private JTextField rendidoField;
|
private JTextField rendidoField;
|
||||||
private JButton guardarEfectivoButton;
|
private JButton guardarEfectivoButton;
|
||||||
private JButton guardarDocumentosButton;
|
private JButton guardarDocumentosButton;
|
||||||
private JLabel errorVeinteMil;
|
|
||||||
private JLabel errorDiezMil;
|
|
||||||
private JLabel errorCincoMil;
|
|
||||||
private JLabel errorDosMil;
|
|
||||||
private JLabel errorMil;
|
|
||||||
private JLabel errorQuinientos;
|
|
||||||
private JLabel errorCien;
|
|
||||||
private JLabel errorCincuenta;
|
|
||||||
private JLabel errorDiez;
|
|
||||||
private JLabel errorCheques;
|
private JLabel errorCheques;
|
||||||
private JLabel errorTarjetas;
|
private JLabel errorTarjetas;
|
||||||
private JTextField diferenciaField;
|
private JTextField diferenciaField;
|
||||||
@@ -70,39 +62,39 @@ public class ArqueoView {
|
|||||||
return contentPanel;
|
return contentPanel;
|
||||||
}
|
}
|
||||||
|
|
||||||
public JTextField getVeinteMilField() {
|
public NumberFormatedTextField getVeinteMilField() {
|
||||||
return veinteMilField;
|
return veinteMilField;
|
||||||
}
|
}
|
||||||
|
|
||||||
public JTextField getDiezMilField() {
|
public NumberFormatedTextField getDiezMilField() {
|
||||||
return diezMilField;
|
return diezMilField;
|
||||||
}
|
}
|
||||||
|
|
||||||
public JTextField getCincoMilField() {
|
public NumberFormatedTextField getCincoMilField() {
|
||||||
return cincoMilField;
|
return cincoMilField;
|
||||||
}
|
}
|
||||||
|
|
||||||
public JTextField getDosMilField() {
|
public NumberFormatedTextField getDosMilField() {
|
||||||
return dosMilField;
|
return dosMilField;
|
||||||
}
|
}
|
||||||
|
|
||||||
public JTextField getMilField() {
|
public NumberFormatedTextField getMilField() {
|
||||||
return milField;
|
return milField;
|
||||||
}
|
}
|
||||||
|
|
||||||
public JTextField getQuinientosField() {
|
public NumberFormatedTextField getQuinientosField() {
|
||||||
return quinientosField;
|
return quinientosField;
|
||||||
}
|
}
|
||||||
|
|
||||||
public JTextField getCienField() {
|
public NumberFormatedTextField getCienField() {
|
||||||
return cienField;
|
return cienField;
|
||||||
}
|
}
|
||||||
|
|
||||||
public JTextField getCincuentaField() {
|
public NumberFormatedTextField getCincuentaField() {
|
||||||
return cincuentaField;
|
return cincuentaField;
|
||||||
}
|
}
|
||||||
|
|
||||||
public JTextField getDiezField() {
|
public NumberFormatedTextField getDiezField() {
|
||||||
return diezField;
|
return diezField;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -130,14 +122,6 @@ public class ArqueoView {
|
|||||||
return rendidoField;
|
return rendidoField;
|
||||||
}
|
}
|
||||||
|
|
||||||
public JTextField getDebeRendirField() {
|
|
||||||
return debeRendirField;
|
|
||||||
}
|
|
||||||
|
|
||||||
public JTextField getDiferenciaField() {
|
|
||||||
return diferenciaField;
|
|
||||||
}
|
|
||||||
|
|
||||||
public JButton getGuardarEfectivoButton() {
|
public JButton getGuardarEfectivoButton() {
|
||||||
return guardarEfectivoButton;
|
return guardarEfectivoButton;
|
||||||
}
|
}
|
||||||
@@ -146,42 +130,6 @@ public class ArqueoView {
|
|||||||
return guardarDocumentosButton;
|
return guardarDocumentosButton;
|
||||||
}
|
}
|
||||||
|
|
||||||
public JLabel getErrorVeinteMil() {
|
|
||||||
return errorVeinteMil;
|
|
||||||
}
|
|
||||||
|
|
||||||
public JLabel getErrorDiezMil() {
|
|
||||||
return errorDiezMil;
|
|
||||||
}
|
|
||||||
|
|
||||||
public JLabel getErrorCincoMil() {
|
|
||||||
return errorCincoMil;
|
|
||||||
}
|
|
||||||
|
|
||||||
public JLabel getErrorDosMil() {
|
|
||||||
return errorDosMil;
|
|
||||||
}
|
|
||||||
|
|
||||||
public JLabel getErrorMil() {
|
|
||||||
return errorMil;
|
|
||||||
}
|
|
||||||
|
|
||||||
public JLabel getErrorQuinientos() {
|
|
||||||
return errorQuinientos;
|
|
||||||
}
|
|
||||||
|
|
||||||
public JLabel getErrorCien() {
|
|
||||||
return errorCien;
|
|
||||||
}
|
|
||||||
|
|
||||||
public JLabel getErrorCincuenta() {
|
|
||||||
return errorCincuenta;
|
|
||||||
}
|
|
||||||
|
|
||||||
public JLabel getErrorDiez() {
|
|
||||||
return errorDiez;
|
|
||||||
}
|
|
||||||
|
|
||||||
public JLabel getErrorCheques() {
|
public JLabel getErrorCheques() {
|
||||||
return errorCheques;
|
return errorCheques;
|
||||||
}
|
}
|
||||||
@@ -190,6 +138,14 @@ public class ArqueoView {
|
|||||||
return errorTarjetas;
|
return errorTarjetas;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public JTextField getDiferenciaField() {
|
||||||
|
return diferenciaField;
|
||||||
|
}
|
||||||
|
|
||||||
|
public JTextField getDebeRendirField() {
|
||||||
|
return debeRendirField;
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
// GUI initializer generated by IntelliJ IDEA GUI Designer
|
// GUI initializer generated by IntelliJ IDEA GUI Designer
|
||||||
// >>> IMPORTANT!! <<<
|
// >>> IMPORTANT!! <<<
|
||||||
@@ -206,7 +162,7 @@ public class ArqueoView {
|
|||||||
*/
|
*/
|
||||||
private void $$$setupUI$$$() {
|
private void $$$setupUI$$$() {
|
||||||
contentPanel = new JPanel();
|
contentPanel = new JPanel();
|
||||||
contentPanel.setLayout(new GridLayoutManager(2, 2, new Insets(0, 0, 0, 0), -1, -1));
|
contentPanel.setLayout(new GridLayoutManager(3, 2, new Insets(0, 0, 0, 0), -1, -1));
|
||||||
final JPanel panel1 = new JPanel();
|
final JPanel panel1 = new JPanel();
|
||||||
panel1.setLayout(new GridLayoutManager(7, 2, new Insets(10, 10, 10, 10), -1, -1));
|
panel1.setLayout(new GridLayoutManager(7, 2, new Insets(10, 10, 10, 10), -1, -1));
|
||||||
contentPanel.add(panel1, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
contentPanel.add(panel1, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
@@ -263,113 +219,68 @@ public class ArqueoView {
|
|||||||
panel1.add(efectivoField, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
panel1.add(efectivoField, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
||||||
final JPanel panel2 = new JPanel();
|
final JPanel panel2 = new JPanel();
|
||||||
panel2.setLayout(new GridLayoutManager(2, 1, new Insets(0, 0, 0, 0), -1, -1));
|
panel2.setLayout(new GridLayoutManager(2, 1, new Insets(0, 0, 0, 0), -1, -1));
|
||||||
contentPanel.add(panel2, new GridConstraints(0, 0, 2, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
contentPanel.add(panel2, new GridConstraints(0, 0, 3, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
final JPanel panel3 = new JPanel();
|
final JPanel panel3 = new JPanel();
|
||||||
panel3.setLayout(new GridLayoutManager(19, 2, new Insets(10, 10, 10, 10), -1, -1));
|
panel3.setLayout(new GridLayoutManager(10, 2, new Insets(10, 10, 10, 10), -1, -1));
|
||||||
panel2.add(panel3, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
panel2.add(panel3, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
panel3.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), "Detalle Efectivo", TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, this.$$$getFont$$$(null, -1, -1, panel3.getFont())));
|
panel3.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), "Detalle Efectivo", TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, this.$$$getFont$$$(null, -1, -1, panel3.getFont())));
|
||||||
final JLabel label7 = new JLabel();
|
final JLabel label7 = new JLabel();
|
||||||
label7.setText("$20000");
|
label7.setText("$20000");
|
||||||
panel3.add(label7, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel3.add(label7, new GridConstraints(0, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
veinteMilField = new JTextField();
|
veinteMilField = new NumberFormatedTextField();
|
||||||
veinteMilField.setText("0");
|
veinteMilField.setText("");
|
||||||
panel3.add(veinteMilField, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
panel3.add(veinteMilField, new GridConstraints(0, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||||
final JLabel label8 = new JLabel();
|
final JLabel label8 = new JLabel();
|
||||||
label8.setText("$10000");
|
label8.setText("$10000");
|
||||||
panel3.add(label8, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel3.add(label8, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
diezMilField = new JTextField();
|
diezMilField = new NumberFormatedTextField();
|
||||||
diezMilField.setText("0");
|
diezMilField.setText("");
|
||||||
panel3.add(diezMilField, new GridConstraints(2, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
panel3.add(diezMilField, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||||
cincoMilField = new JTextField();
|
cincoMilField = new NumberFormatedTextField();
|
||||||
cincoMilField.setText("0");
|
cincoMilField.setText("");
|
||||||
panel3.add(cincoMilField, new GridConstraints(4, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
panel3.add(cincoMilField, new GridConstraints(2, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||||
final JLabel label9 = new JLabel();
|
final JLabel label9 = new JLabel();
|
||||||
label9.setText("$5000");
|
label9.setText("$5000");
|
||||||
panel3.add(label9, new GridConstraints(4, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel3.add(label9, new GridConstraints(2, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label10 = new JLabel();
|
final JLabel label10 = new JLabel();
|
||||||
label10.setText("$2000");
|
label10.setText("$2000");
|
||||||
panel3.add(label10, new GridConstraints(6, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel3.add(label10, new GridConstraints(3, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
dosMilField = new JTextField();
|
dosMilField = new NumberFormatedTextField();
|
||||||
dosMilField.setText("0");
|
dosMilField.setText("");
|
||||||
panel3.add(dosMilField, new GridConstraints(6, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
panel3.add(dosMilField, new GridConstraints(3, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||||
milField = new JTextField();
|
milField = new NumberFormatedTextField();
|
||||||
milField.setText("0");
|
milField.setText("");
|
||||||
panel3.add(milField, new GridConstraints(8, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
panel3.add(milField, new GridConstraints(4, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||||
final JLabel label11 = new JLabel();
|
final JLabel label11 = new JLabel();
|
||||||
label11.setText("$1000");
|
label11.setText("$1000");
|
||||||
panel3.add(label11, new GridConstraints(8, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel3.add(label11, new GridConstraints(4, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label12 = new JLabel();
|
final JLabel label12 = new JLabel();
|
||||||
label12.setText("$500");
|
label12.setText("$500");
|
||||||
panel3.add(label12, new GridConstraints(10, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel3.add(label12, new GridConstraints(5, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
quinientosField = new JTextField();
|
quinientosField = new NumberFormatedTextField();
|
||||||
quinientosField.setText("0");
|
quinientosField.setText("");
|
||||||
panel3.add(quinientosField, new GridConstraints(10, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
panel3.add(quinientosField, new GridConstraints(5, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||||
final JLabel label13 = new JLabel();
|
final JLabel label13 = new JLabel();
|
||||||
label13.setText("$100");
|
label13.setText("$100");
|
||||||
panel3.add(label13, new GridConstraints(12, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel3.add(label13, new GridConstraints(6, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
cienField = new JTextField();
|
cienField = new NumberFormatedTextField();
|
||||||
cienField.setText("0");
|
cienField.setText("");
|
||||||
panel3.add(cienField, new GridConstraints(12, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
panel3.add(cienField, new GridConstraints(6, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||||
final JLabel label14 = new JLabel();
|
final JLabel label14 = new JLabel();
|
||||||
label14.setText("$50");
|
label14.setText("$50");
|
||||||
panel3.add(label14, new GridConstraints(14, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel3.add(label14, new GridConstraints(7, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
cincuentaField = new JTextField();
|
cincuentaField = new NumberFormatedTextField();
|
||||||
cincuentaField.setText("0");
|
cincuentaField.setText("");
|
||||||
panel3.add(cincuentaField, new GridConstraints(14, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
panel3.add(cincuentaField, new GridConstraints(7, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||||
final JLabel label15 = new JLabel();
|
final JLabel label15 = new JLabel();
|
||||||
label15.setText("$10");
|
label15.setText("$10");
|
||||||
panel3.add(label15, new GridConstraints(16, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel3.add(label15, new GridConstraints(8, 0, 1, 1, GridConstraints.ANCHOR_EAST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
diezField = new JTextField();
|
diezField = new NumberFormatedTextField();
|
||||||
diezField.setText("0");
|
diezField.setText("");
|
||||||
panel3.add(diezField, new GridConstraints(16, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
panel3.add(diezField, new GridConstraints(8, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||||
guardarEfectivoButton = new JButton();
|
guardarEfectivoButton = new JButton();
|
||||||
guardarEfectivoButton.setText("Guardar");
|
guardarEfectivoButton.setText("Guardar");
|
||||||
panel3.add(guardarEfectivoButton, new GridConstraints(18, 0, 1, 2, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
panel3.add(guardarEfectivoButton, new GridConstraints(9, 0, 1, 2, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(200, -1), null, 0, false));
|
||||||
errorVeinteMil = new JLabel();
|
|
||||||
errorVeinteMil.setForeground(new Color(-65536));
|
|
||||||
errorVeinteMil.setText("Error");
|
|
||||||
errorVeinteMil.setVisible(false);
|
|
||||||
panel3.add(errorVeinteMil, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
|
||||||
errorDiezMil = new JLabel();
|
|
||||||
errorDiezMil.setForeground(new Color(-65536));
|
|
||||||
errorDiezMil.setText("Error");
|
|
||||||
errorDiezMil.setVisible(false);
|
|
||||||
panel3.add(errorDiezMil, new GridConstraints(3, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
|
||||||
errorCincoMil = new JLabel();
|
|
||||||
errorCincoMil.setForeground(new Color(-65536));
|
|
||||||
errorCincoMil.setText("Error");
|
|
||||||
errorCincoMil.setVisible(false);
|
|
||||||
panel3.add(errorCincoMil, new GridConstraints(5, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
|
||||||
errorDosMil = new JLabel();
|
|
||||||
errorDosMil.setForeground(new Color(-65536));
|
|
||||||
errorDosMil.setText("Error");
|
|
||||||
errorDosMil.setVisible(false);
|
|
||||||
panel3.add(errorDosMil, new GridConstraints(7, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
|
||||||
errorMil = new JLabel();
|
|
||||||
errorMil.setForeground(new Color(-65536));
|
|
||||||
errorMil.setText("Error");
|
|
||||||
errorMil.setVisible(false);
|
|
||||||
panel3.add(errorMil, new GridConstraints(9, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
|
||||||
errorQuinientos = new JLabel();
|
|
||||||
errorQuinientos.setForeground(new Color(-65536));
|
|
||||||
errorQuinientos.setText("Error");
|
|
||||||
errorQuinientos.setVisible(false);
|
|
||||||
panel3.add(errorQuinientos, new GridConstraints(11, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
|
||||||
errorCien = new JLabel();
|
|
||||||
errorCien.setForeground(new Color(-65536));
|
|
||||||
errorCien.setText("Error");
|
|
||||||
errorCien.setVisible(false);
|
|
||||||
panel3.add(errorCien, new GridConstraints(13, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
|
||||||
errorCincuenta = new JLabel();
|
|
||||||
errorCincuenta.setForeground(new Color(-65536));
|
|
||||||
errorCincuenta.setText("Error");
|
|
||||||
errorCincuenta.setVisible(false);
|
|
||||||
panel3.add(errorCincuenta, new GridConstraints(15, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
|
||||||
errorDiez = new JLabel();
|
|
||||||
errorDiez.setForeground(new Color(-65536));
|
|
||||||
errorDiez.setText("Error");
|
|
||||||
errorDiez.setVisible(false);
|
|
||||||
panel3.add(errorDiez, new GridConstraints(17, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
|
||||||
final JPanel panel4 = new JPanel();
|
final JPanel panel4 = new JPanel();
|
||||||
panel4.setLayout(new GridLayoutManager(5, 2, new Insets(10, 10, 10, 10), -1, -1));
|
panel4.setLayout(new GridLayoutManager(5, 2, new Insets(10, 10, 10, 10), -1, -1));
|
||||||
panel2.add(panel4, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
panel2.add(panel4, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_BOTH, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, GridConstraints.SIZEPOLICY_CAN_SHRINK | GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));
|
||||||
@@ -400,7 +311,7 @@ public class ArqueoView {
|
|||||||
errorTarjetas.setVisible(false);
|
errorTarjetas.setVisible(false);
|
||||||
panel4.add(errorTarjetas, new GridConstraints(3, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel4.add(errorTarjetas, new GridConstraints(3, 1, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final Spacer spacer1 = new Spacer();
|
final Spacer spacer1 = new Spacer();
|
||||||
contentPanel.add(spacer1, new GridConstraints(1, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_VERTICAL, 1, GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));
|
contentPanel.add(spacer1, new GridConstraints(2, 1, 1, 1, GridConstraints.ANCHOR_CENTER, GridConstraints.FILL_VERTICAL, 1, GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -186,10 +186,10 @@ public class IngresosView {
|
|||||||
valorField = new JTextField();
|
valorField = new JTextField();
|
||||||
panel2.add(valorField, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
panel2.add(valorField, new GridConstraints(1, 0, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
||||||
final JLabel label3 = new JLabel();
|
final JLabel label3 = new JLabel();
|
||||||
label3.setText("N° Boleta Inicial");
|
label3.setText("N° Inicial");
|
||||||
panel2.add(label3, new GridConstraints(0, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel2.add(label3, new GridConstraints(0, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
final JLabel label4 = new JLabel();
|
final JLabel label4 = new JLabel();
|
||||||
label4.setText("N° Boleta Final");
|
label4.setText("N° Final");
|
||||||
panel2.add(label4, new GridConstraints(0, 4, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
panel2.add(label4, new GridConstraints(0, 4, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_NONE, GridConstraints.SIZEPOLICY_FIXED, GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));
|
||||||
nroInicialField = new JTextField();
|
nroInicialField = new JTextField();
|
||||||
panel2.add(nroInicialField, new GridConstraints(1, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
panel2.add(nroInicialField, new GridConstraints(1, 3, 1, 1, GridConstraints.ANCHOR_WEST, GridConstraints.FILL_HORIZONTAL, GridConstraints.SIZEPOLICY_WANT_GROW, GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(150, -1), null, 0, false));
|
||||||
|
|||||||
@@ -0,0 +1,116 @@
|
|||||||
|
/*
|
||||||
|
* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (c) 2018-2019 Daniel Cortes
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package danielcortes.xyz.views.components;
|
||||||
|
|
||||||
|
import javax.swing.*;
|
||||||
|
import java.awt.event.FocusEvent;
|
||||||
|
import java.awt.event.FocusListener;
|
||||||
|
import java.awt.event.KeyAdapter;
|
||||||
|
import java.awt.event.KeyEvent;
|
||||||
|
import java.text.NumberFormat;
|
||||||
|
import java.text.ParseException;
|
||||||
|
|
||||||
|
public class NumberFormatedTextField extends JTextField {
|
||||||
|
private int value;
|
||||||
|
private NumberFormat nf;
|
||||||
|
|
||||||
|
public NumberFormatedTextField() {
|
||||||
|
super();
|
||||||
|
|
||||||
|
this.nf = NumberFormat.getIntegerInstance();
|
||||||
|
|
||||||
|
this.addFocusListener(new FieldFocusListener());
|
||||||
|
this.addKeyListener(new FieldKeyAdapter());
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setValue(int value){
|
||||||
|
this.value = value;
|
||||||
|
this.setText(nf.format(value));
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getValue(){
|
||||||
|
return this.value;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void readValue(){
|
||||||
|
try {
|
||||||
|
String currentText = this.getText();
|
||||||
|
if(currentText.length() > 0){
|
||||||
|
this.value = nf.parse(currentText).intValue();
|
||||||
|
}
|
||||||
|
} catch (ParseException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void formatText(){
|
||||||
|
this.setText(nf.format(this.value));
|
||||||
|
}
|
||||||
|
|
||||||
|
private class FieldFocusListener implements FocusListener{
|
||||||
|
/**
|
||||||
|
* Selecciona todo al momento de ganar foco
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void focusGained(FocusEvent e) {
|
||||||
|
NumberFormatedTextField.this.select(0, getText().length());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Actualiza el texto y el valor interno al perder el foco
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void focusLost(FocusEvent e) {
|
||||||
|
NumberFormatedTextField.this.readValue();
|
||||||
|
NumberFormatedTextField.this.formatText();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private class FieldKeyAdapter extends KeyAdapter{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Solo permitir introducir un maximo de 9 digitos
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void keyTyped(KeyEvent e) {
|
||||||
|
String currentText = NumberFormatedTextField.this.getText();
|
||||||
|
int parsedText = 0;
|
||||||
|
|
||||||
|
if(currentText.length() > 0) {
|
||||||
|
try {
|
||||||
|
parsedText = nf.parse(currentText).intValue();
|
||||||
|
} catch (ParseException e1) {
|
||||||
|
e1.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
int length = String.valueOf(parsedText).length();
|
||||||
|
|
||||||
|
if (length >= 9) {
|
||||||
|
e.consume();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user