-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented mCASH payment. Still lacking possibility to close report.…
… Using library from https://github.com/fiLLLip/mcash-java-api
- Loading branch information
Showing
33 changed files
with
1,289 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
265 changes: 246 additions & 19 deletions
265
src-pos/com/openbravo/pos/config/JPanelConfigPayment.form
Large diffs are not rendered by default.
Oops, something went wrong.
218 changes: 202 additions & 16 deletions
218
src-pos/com/openbravo/pos/config/JPanelConfigPayment.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
|
||
<Form version="1.2" maxVersion="1.2" type="org.netbeans.modules.form.forminfo.JPanelFormInfo"> | ||
<AuxValues> | ||
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/> | ||
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> | ||
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> | ||
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/> | ||
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/> | ||
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> | ||
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/> | ||
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/> | ||
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/> | ||
</AuxValues> | ||
|
||
<Layout> | ||
<DimensionLayout dim="0"> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Group type="102" attributes="0"> | ||
<EmptySpace min="-2" max="-2" attributes="0"/> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Component id="m_jButtonStartPayment" min="-2" pref="160" max="-2" attributes="0"/> | ||
<Component id="m_jButtonExecutePayment" alignment="0" min="-2" pref="160" max="-2" attributes="0"/> | ||
<Component id="m_jButtonCancelPayment" alignment="0" min="-2" pref="160" max="-2" attributes="0"/> | ||
</Group> | ||
<EmptySpace min="-2" max="-2" attributes="0"/> | ||
<Component id="m_jScrollPane" pref="240" max="32767" attributes="0"/> | ||
<EmptySpace min="-2" max="-2" attributes="0"/> | ||
</Group> | ||
</Group> | ||
</DimensionLayout> | ||
<DimensionLayout dim="1"> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Group type="102" alignment="0" attributes="0"> | ||
<EmptySpace min="-2" max="-2" attributes="0"/> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Component id="m_jScrollPane" max="32767" attributes="0"/> | ||
<Group type="102" attributes="0"> | ||
<Component id="m_jButtonStartPayment" min="-2" pref="45" max="-2" attributes="0"/> | ||
<EmptySpace max="-2" attributes="0"/> | ||
<Component id="m_jButtonExecutePayment" min="-2" pref="45" max="-2" attributes="0"/> | ||
<EmptySpace max="-2" attributes="0"/> | ||
<Component id="m_jButtonCancelPayment" min="-2" pref="45" max="-2" attributes="0"/> | ||
</Group> | ||
</Group> | ||
<EmptySpace min="-2" pref="145" max="-2" attributes="0"/> | ||
</Group> | ||
</Group> | ||
</DimensionLayout> | ||
</Layout> | ||
<SubComponents> | ||
<Container class="javax.swing.JScrollPane" name="m_jScrollPane"> | ||
<Properties> | ||
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor"> | ||
<Dimension value="[150, 100]"/> | ||
</Property> | ||
</Properties> | ||
<AuxValues> | ||
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> | ||
</AuxValues> | ||
|
||
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> | ||
<SubComponents> | ||
<Component class="javax.swing.JList" name="m_jListInfo"> | ||
<Properties> | ||
<Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.RADConnectionPropertyEditor"> | ||
<Connection code="m_infoList" type="code"/> | ||
</Property> | ||
<Property name="focusable" type="boolean" value="false"/> | ||
</Properties> | ||
</Component> | ||
</SubComponents> | ||
</Container> | ||
<Component class="javax.swing.JButton" name="m_jButtonStartPayment"> | ||
<Properties> | ||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | ||
<Image iconType="3" name="/com/openbravo/images/mcash32.png"/> | ||
</Property> | ||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> | ||
<ResourceString bundle="pos_messages.properties" key="Button.Start" replaceFormat="AppLocal.getIntString("{key}")"/> | ||
</Property> | ||
<Property name="focusPainted" type="boolean" value="false"/> | ||
<Property name="focusable" type="boolean" value="false"/> | ||
<Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> | ||
<Insets value="[8, 16, 8, 16]"/> | ||
</Property> | ||
<Property name="requestFocusEnabled" type="boolean" value="false"/> | ||
</Properties> | ||
<Events> | ||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="m_jButtonStartPaymentActionPerformed"/> | ||
</Events> | ||
<AuxValues> | ||
<AuxValue name="JavaCodeGenerator_SerializeTo" type="java.lang.String" value="JPaymentMcash_m_jButtonStartPayment"/> | ||
</AuxValues> | ||
</Component> | ||
<Component class="javax.swing.JButton" name="m_jButtonCancelPayment"> | ||
<Properties> | ||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | ||
<Image iconType="3" name="/com/openbravo/images/button_cancel.png"/> | ||
</Property> | ||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> | ||
<ResourceString bundle="pos_messages.properties" key="Button.Cancel" replaceFormat="AppLocal.getIntString("{key}")"/> | ||
</Property> | ||
<Property name="enabled" type="boolean" value="false"/> | ||
<Property name="focusPainted" type="boolean" value="false"/> | ||
<Property name="focusable" type="boolean" value="false"/> | ||
<Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> | ||
<Insets value="[8, 16, 8, 16]"/> | ||
</Property> | ||
<Property name="requestFocusEnabled" type="boolean" value="false"/> | ||
</Properties> | ||
<Events> | ||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="m_jButtonCancelPaymentActionPerformed"/> | ||
</Events> | ||
</Component> | ||
<Component class="javax.swing.JButton" name="m_jButtonExecutePayment"> | ||
<Properties> | ||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> | ||
<Image iconType="3" name="/com/openbravo/images/apply.png"/> | ||
</Property> | ||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> | ||
<ResourceString bundle="pos_messages.properties" key="Button.ExecutePayment" replaceFormat="AppLocal.getIntString("{key}")"/> | ||
</Property> | ||
<Property name="enabled" type="boolean" value="false"/> | ||
<Property name="focusPainted" type="boolean" value="false"/> | ||
<Property name="focusable" type="boolean" value="false"/> | ||
<Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor"> | ||
<Insets value="[8, 16, 8, 16]"/> | ||
</Property> | ||
<Property name="requestFocusEnabled" type="boolean" value="false"/> | ||
</Properties> | ||
<Events> | ||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="m_jButtonExecutePaymentActionPerformed"/> | ||
</Events> | ||
</Component> | ||
</SubComponents> | ||
</Form> |
Oops, something went wrong.