Skip to content

Commit

Permalink
unify the [redefinition] branch and [window-definition] (#1467)
Browse files Browse the repository at this point in the history
* feat: Delete related vuex store logic (#953)

* feat: Delete related vuex store logic

* change container type to container manager

* Add callback functions (#958)

* feat: Add record navigation (#962)

* feat: Add record navigation

* add vuex store

* use drawer to records

* set current tab uuid from route

* add seek record form tab

* set namespace to vuex store module.

* add callbacks in windows test

* feat: Set values into panel fields (#966)

* Remove unnecessary implementation for store (#968)

* Remove rounded store Vuex implementation: (#970)

- Remove process
- Remove Browser
- Remove window
- Remove Getters from servers for window, process and browser
- Remove controls for process, window and browsers

* fix: Get record notification is undefined (#973)

* fix: getRecordNotification is undefined.

* add template spaces

* Remove old implemtation for window, process and smart (#974)

* feat: Add vertical scroll default table. (#971)

* feat: Add local search in default table. (#976)

* Table browser support (#984)

* Table browser support

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* feat: Set uuid record with route query (#982)

* feat: Add update record. (#989)

* feat: Add update record.

* delete duplicated call action performed.

* feat: Drawer open left. (#990)

* add Auxiliary Panel (#998)

Co-authored-by: elsiosanchez <[email protected]>

* Align panel with window (#1000)

Co-authored-by: elsiosanchez <[email protected]>

* feat: Add actions menu redefinition (#993)

* feat: Add actions menu redefinition

* change actions menu to tabManager

* change to window

* change methods.

* changes required.

* Feat: add table header and record load by property (#1010)

* Feat: add table header and record load by property

* feat: adds record total to table

Co-authored-by: elsiosanchez <[email protected]>

* adding full screen and table options (#1011)

* Feat: add table header and record load by property

* feat: adds record total to table

* adding full screen and table options

Co-authored-by: elsiosanchez <[email protected]>

* feat: Add tabs childs redefinition (#1001)

* feat: Add tabs childs redefinition

* add change single record and multi record

* fix table header required

* support Report format (#1029)

Co-authored-by: elsiosanchez <[email protected]>

* feat: Load Process (#1041)

* feat: Load Report/Process

* add components

* add callback

* delete controls unused

* feat: Add load smart browser (#1062)

* Add support to list entity based on tab instead query

* Remove unnecessary values

* fix: Add missing translation es lang. (#1079)

* fix: Add missing translation es lang.

* fix merge

* fix: Click item menu without relation. (#1084)

* Loading windows with vuex (#1030)

* Loading windows with vuex

* add tab childs

Co-authored-by: elsiosanchez <[email protected]>

* feature: Change actions menu. (#1112)

* fix: Show tabs childs and columns. (#1119)

* feat: Update redefinition with develop branch (#1138)

* Remove duplicated series (#981)

* Fix Pos (#977)

* Fixe POs

* fixes Currency

* delete comment

Co-authored-by: elsiosanchez <[email protected]>

* sopporte a reversar transsaccion (#979)

Co-authored-by: elsiosanchez <[email protected]>

* search in the process audit by user (#980)

Co-authored-by: elsiosanchez <[email protected]>

* Supporte Pin Point Of Sales (#978)

* Fixe POs

* fixes Currency

* Supporte Pin Point Of  Sales

* focus ping

Co-authored-by: elsiosanchez <[email protected]>

* dashboard (#983)

* fixing dashboard errors (#985)

Co-authored-by: elsiosanchez <[email protected]>

* Add support to list document type service (#986)

* Switching from document type (#987)

* Switching from document type

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* check-price (#988)

* product information (#992)

* Support workflow activities (#972)

* support workflow activities

* minimal changes

* add Workflows and services

* add state semantics

* rename fille

* add info the node

Co-authored-by: elsiosanchez <[email protected]>

* guide component (#995)

* Add activity notifications (#997)

Co-authored-by: elsiosanchez <[email protected]>

* Add guide (#1002)

Co-authored-by: elsiosanchez <[email protected]>

* flujo de trabajo y actividades (#1005)

* feat: Update to element-ui 2.15.3 (#1004)

* fix: Tab name style. (#1003)

* fix: Tab name style.

* fix tooltip text.

* feat: Improve documentation deploy. (#1007)

* feature: Improve documentation deploy.

* minimal changes.

* support Upload Excel (#991)

* support Upload Excel

* change button

* Adjust cell contents according to formatting type

Co-authored-by: elsiosanchez <[email protected]>

* Fixing error when searching for product (#1009)

* Fixing error when searching for product

* Reducing calls to the Api

Co-authored-by: elsiosanchez <[email protected]>

* Add packages lock for project (#1013)

* feat: Push docker image github package registry. (#1014)

* feat: Push docker image github package registry.

* Docker image in Github Package

* change npm ci to npm i

* Add docker file.

* remove docs lock files

* feat: Add support docker hub continuous delivery. (#1016)

* feat: Add support docker hub continuous delivery.

* remove comments

* Fixed syntax errors and deleting console.log (#1012)

* Overdrawn Invoice

* rename computed

* add service Overdrawn Invoice

* Duplicate key error and deleting console.log

* fixe minor errors

* add params to router

* fixe pin

* fixe Price Checking

* fix constants

Co-authored-by: elsiosanchez <[email protected]>

* feat: Add github secret org name (#1017)

* fix: Docker image files. (#1019)

* Fix Overdrawn Invoice (#1018)

Co-authored-by: elsiosanchez <[email protected]>

* Adjust the product information pop-up window. (#1025)

Co-authored-by: elsiosanchez <[email protected]>

* Intuitive output on the point-of-sale product search panel (#1024)

* Intuitive output on the point-of-sale product search panel

* Update index.vue

Co-authored-by: elsiosanchez <[email protected]>

* adding converted currency symbol (#1026)

Co-authored-by: elsiosanchez <[email protected]>

* Support Attachment (#1008)

* Support Attachment

* adjust size

Co-authored-by: elsiosanchez <[email protected]>

* support Product Configuration (#969)

* support Product Configuration

* paint flowchart dynamically

* minimal changes Workflow

* remove comment

Co-authored-by: elsiosanchez <[email protected]>

* Change readme for run (#1028)

* Support Assign PO-Invoice-Receipt-Invoice (#960)

* setting up initial structure

* add service

Co-authored-by: elsiosanchez <[email protected]>

* Support for the Read Weight form (From Scale) (#945)

* Support Get Weight

* changing the position of the buttons

Co-authored-by: elsiosanchez <[email protected]>

* Update README.md

* Update README.es.md

* fix point-of-sale options (#1036)

* fix point-of-sale options

* minimal change

Co-authored-by: elsiosanchez <[email protected]>

* fix: Documentation tag view not fixed. (#1040)

* Click incremented POS line quantities (#1050)

* Add functionality to the quantity increment and decrement button

* Validate minimum quantity

Co-authored-by: elsiosanchez <[email protected]>

* infinite loop in product table (#1043)

* infinite loop in product table

* Show suggestions when input gets focus

Co-authored-by: elsiosanchez <[email protected]>

* Improve the display when recording the location (#1051)

Co-authored-by: elsiosanchez <[email protected]>

* Error starting section (#1052)

Co-authored-by: elsiosanchez <[email protected]>

* Display order footer do not display data if no order is mounted (#1053)

Co-authored-by: elsiosanchez <[email protected]>

* Lock Order Complete (#1057)

Co-authored-by: elsiosanchez <[email protected]>

* Amount converted to payment (#1066)

* Correcting total amount converted in the payment

* minimal changes

* delete console

Co-authored-by: elsiosanchez <[email protected]>

* Error creating order (#1063)

* fixe new orden

* delete comment

Co-authored-by: elsiosanchez <[email protected]>

* feat: Push docker image with commit. (#1071)

* feat: Push docker image with commit.

* only use develop as main branch.

* fixe discount (#1069)

Co-authored-by: elsiosanchez <[email protected]>

* Pagination of tables (#1070)

Co-authored-by: elsiosanchez <[email protected]>

* Add converted order total (#1072)

Co-authored-by: elsiosanchez <[email protected]>

* feat: Add docker image to main branches. (#1081)

* Changing service of creating business partner by point of sale (#1083)

Co-authored-by: elsiosanchez <[email protected]>

* validate terminal configurator (#1082)

* Add validation for the pin according to the configuration of the terminal of the point of sale

* validate advisor options

* validate terminal configurator

* add pin to Return Order

* remove console

Co-authored-by: elsiosanchez <[email protected]>

* List Orders to be invoiced (#1080)

* List Orders to be invoiced

* minimla changes

* fixe style

Co-authored-by: elsiosanchez <[email protected]>

* - Validate POS options (#1085)

- Fixe Delete Line Service

Co-authored-by: elsiosanchez <[email protected]>

* Modify dimensions of the order to be invoiced table (#1087)

* Modify dimensions of the order to be invoiced table

* add traslate

Co-authored-by: elsiosanchez <[email protected]>

* Add daily limit and limit per transaction (#1089)

Co-authored-by: elsiosanchez <[email protected]>

* Add function for number formatting in decimals (#1088)

* Add function for number formatting in decimals

* minimal changes

* rename function

Co-authored-by: elsiosanchez <[email protected]>

* Error adding payment (#1091)

Co-authored-by: elsiosanchez <[email protected]>

* Select a sales order (#1090)

Co-authored-by: elsiosanchez <[email protected]>

* Support for payment types in the return of funds (#1096)

* Support for payment types in the return of funds

* renaming the file

Co-authored-by: elsiosanchez <[email protected]>

* Support for zelle payment types in the return of funds (#1097)

Co-authored-by: elsiosanchez <[email protected]>

* Support for cash payment types in the return of funds (#1101)

Co-authored-by: elsiosanchez <[email protected]>

* error when adding payment (#1099)

Co-authored-by: elsiosanchez <[email protected]>

* Payment method not supported (#1098)

Co-authored-by: elsiosanchez <[email protected]>

* Validation when the order is complete (#1094)

Co-authored-by: elsiosanchez <[email protected]>

* Support for Gift Card payment types in the return of funds (#1103)

* Add different types of cards for return

* minimal changes

* Support for Gift Carts payment types in the return of funds

* translate

* minimal changes

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* fix: Load window for the first time (#1095)

* Add image at the point of sale (#1104)

* add image to pos

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Change document type at the point of sale (#1108)

Co-authored-by: elsiosanchez <[email protected]>

* show price base the info product (#1106)

* show price base the info product

* fixe style

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Support Maximum Allowable Reimbursement (#1110)

* Support Maximum Allowable Reimbursement

* remove   console

Co-authored-by: elsiosanchez <[email protected]>

* validate refund (#1109)

* validate refund

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* fixe translation (#1111)

Co-authored-by: elsiosanchez <[email protected]>

* change the tender type service (#1113)

* change the tender type service

* display of the fields

Co-authored-by: elsiosanchez <[email protected]>

* Correcting point of sale style (#1114)

* Correcting point of sale style

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Bugfix/close pin (#1115)

* Correcting point of sale style

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Add service create a customer account (#1117)

Co-authored-by: elsiosanchez <[email protected]>

* Close pin dialog (#1121)

Co-authored-by: elsiosanchez <[email protected]>

* change in the order converting the business partner into a customer (#1124)

Co-authored-by: elsiosanchez <[email protected]>

* Add service create a customer accountChanging the position of the bus… (#1118)

* Add service create a customer accountChanging the position of the business partner

* change positiion

* minimal changes

* fast order

Co-authored-by: elsiosanchez <[email protected]>

* Load the fields in the options (#1120)

* Load the fields with only one of the payment types in the return.

* remove console

* remove console

Co-authored-by: elsiosanchez <[email protected]>

* change service currency (#1125)

* change service the currency

* defaul config

Co-authored-by: elsiosanchez <[email protected]>

* Feature/add service print ticket (#1126)

* Support print ticket service

* rename dispacht

Co-authored-by: elsiosanchez <[email protected]>

* Enter for product line options section (#1127)

Co-authored-by: elsiosanchez <[email protected]>

* Fix image size for a better visualization (#1128)

Co-authored-by: elsiosanchez <[email protected]>

* associate type of payment (#1129)

* associate type of payment

* minimal change

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* change cash back (#1130)

change cash back

Co-authored-by: elsiosanchez <[email protected]>

* Default payment rule (#1131)

Co-authored-by: elsiosanchez <[email protected]>

* Remove popover from converted amount (#1132)

Co-authored-by: elsiosanchez <[email protected]>

* Fixing Refund Errors (#1133)

* fixe refund

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* fix: Docker compose up. (#1134)

* Customer support at the Point of Sale (#1136)

* Support Edtit Customer

* minimal changes

* minimal changes

* close ppover

* change the style by 2 columns

Co-authored-by: elsiosanchez <[email protected]>

* validate payment method (#1137)

Co-authored-by: elsiosanchez <[email protected]>

* fix packages.

Co-authored-by: Yamel Senih <[email protected]>
Co-authored-by: Elsio Sanchez <[email protected]>
Co-authored-by: elsiosanchez <[email protected]>
Co-authored-by: TaniaLucena <[email protected]>

* fix: Implement multitab. (#1139)

* fix: NPM CI install packages. (#1147)

* feat: Add window support ReadOnly field. (#1159)

* feat: Add window support ReadOnly field.

* enable client validation.

* feat: Add delete record (#1190)

* feat: Add window support ReadOnly field.

* enable client validation.

* feat: Actions menu

* feat: Add delete record.

* remove deprecated getEntities

* change run actions

* fix: Windows set default values. (#1194)

* fix: Smart browser load. (#1195)

* fix: Smart browser load.

* fix key view.

* fix: References loading indefinitely. (#1208)

* fix: Show records panel only in the corresponding tab. (#1223)

* feat: Add current tab

* set show records for container.

* Support to CRUD (#1213)

* Support CRUD

* add notification

* removed console

Co-authored-by: elsiosanchez <[email protected]>

* feat: Add shared link. (#1212)

* feat: Add shared link.

* fix set query.

* Set permant link into store.

* feat: Add values with permant link. (#1253)

* fix: Create record request with empty mandatory. (#1255)

* fix: Request fields preference value. (#1271)

* fix: References send request without record. (#1270)

* feat: Update window redefinition with develop (#1277)

* Remove duplicated series (#981)

* Fix Pos (#977)

* Fixe POs

* fixes Currency

* delete comment

Co-authored-by: elsiosanchez <[email protected]>

* sopporte a reversar transsaccion (#979)

Co-authored-by: elsiosanchez <[email protected]>

* search in the process audit by user (#980)

Co-authored-by: elsiosanchez <[email protected]>

* Supporte Pin Point Of Sales (#978)

* Fixe POs

* fixes Currency

* Supporte Pin Point Of  Sales

* focus ping

Co-authored-by: elsiosanchez <[email protected]>

* dashboard (#983)

* fixing dashboard errors (#985)

Co-authored-by: elsiosanchez <[email protected]>

* Add support to list document type service (#986)

* Switching from document type (#987)

* Switching from document type

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* check-price (#988)

* product information (#992)

* Support workflow activities (#972)

* support workflow activities

* minimal changes

* add Workflows and services

* add state semantics

* rename fille

* add info the node

Co-authored-by: elsiosanchez <[email protected]>

* guide component (#995)

* Add activity notifications (#997)

Co-authored-by: elsiosanchez <[email protected]>

* Add guide (#1002)

Co-authored-by: elsiosanchez <[email protected]>

* flujo de trabajo y actividades (#1005)

* feat: Update to element-ui 2.15.3 (#1004)

* fix: Tab name style. (#1003)

* fix: Tab name style.

* fix tooltip text.

* feat: Improve documentation deploy. (#1007)

* feature: Improve documentation deploy.

* minimal changes.

* support Upload Excel (#991)

* support Upload Excel

* change button

* Adjust cell contents according to formatting type

Co-authored-by: elsiosanchez <[email protected]>

* Fixing error when searching for product (#1009)

* Fixing error when searching for product

* Reducing calls to the Api

Co-authored-by: elsiosanchez <[email protected]>

* Add packages lock for project (#1013)

* feat: Push docker image github package registry. (#1014)

* feat: Push docker image github package registry.

* Docker image in Github Package

* change npm ci to npm i

* Add docker file.

* remove docs lock files

* feat: Add support docker hub continuous delivery. (#1016)

* feat: Add support docker hub continuous delivery.

* remove comments

* Fixed syntax errors and deleting console.log (#1012)

* Overdrawn Invoice

* rename computed

* add service Overdrawn Invoice

* Duplicate key error and deleting console.log

* fixe minor errors

* add params to router

* fixe pin

* fixe Price Checking

* fix constants

Co-authored-by: elsiosanchez <[email protected]>

* feat: Add github secret org name (#1017)

* fix: Docker image files. (#1019)

* Fix Overdrawn Invoice (#1018)

Co-authored-by: elsiosanchez <[email protected]>

* Adjust the product information pop-up window. (#1025)

Co-authored-by: elsiosanchez <[email protected]>

* Intuitive output on the point-of-sale product search panel (#1024)

* Intuitive output on the point-of-sale product search panel

* Update index.vue

Co-authored-by: elsiosanchez <[email protected]>

* adding converted currency symbol (#1026)

Co-authored-by: elsiosanchez <[email protected]>

* Support Attachment (#1008)

* Support Attachment

* adjust size

Co-authored-by: elsiosanchez <[email protected]>

* support Product Configuration (#969)

* support Product Configuration

* paint flowchart dynamically

* minimal changes Workflow

* remove comment

Co-authored-by: elsiosanchez <[email protected]>

* Change readme for run (#1028)

* Support Assign PO-Invoice-Receipt-Invoice (#960)

* setting up initial structure

* add service

Co-authored-by: elsiosanchez <[email protected]>

* Support for the Read Weight form (From Scale) (#945)

* Support Get Weight

* changing the position of the buttons

Co-authored-by: elsiosanchez <[email protected]>

* Update README.md

* Update README.es.md

* fix point-of-sale options (#1036)

* fix point-of-sale options

* minimal change

Co-authored-by: elsiosanchez <[email protected]>

* fix: Documentation tag view not fixed. (#1040)

* Click incremented POS line quantities (#1050)

* Add functionality to the quantity increment and decrement button

* Validate minimum quantity

Co-authored-by: elsiosanchez <[email protected]>

* infinite loop in product table (#1043)

* infinite loop in product table

* Show suggestions when input gets focus

Co-authored-by: elsiosanchez <[email protected]>

* Improve the display when recording the location (#1051)

Co-authored-by: elsiosanchez <[email protected]>

* Error starting section (#1052)

Co-authored-by: elsiosanchez <[email protected]>

* Display order footer do not display data if no order is mounted (#1053)

Co-authored-by: elsiosanchez <[email protected]>

* Lock Order Complete (#1057)

Co-authored-by: elsiosanchez <[email protected]>

* Amount converted to payment (#1066)

* Correcting total amount converted in the payment

* minimal changes

* delete console

Co-authored-by: elsiosanchez <[email protected]>

* Error creating order (#1063)

* fixe new orden

* delete comment

Co-authored-by: elsiosanchez <[email protected]>

* feat: Push docker image with commit. (#1071)

* feat: Push docker image with commit.

* only use develop as main branch.

* fixe discount (#1069)

Co-authored-by: elsiosanchez <[email protected]>

* Pagination of tables (#1070)

Co-authored-by: elsiosanchez <[email protected]>

* Add converted order total (#1072)

Co-authored-by: elsiosanchez <[email protected]>

* feat: Add docker image to main branches. (#1081)

* Changing service of creating business partner by point of sale (#1083)

Co-authored-by: elsiosanchez <[email protected]>

* validate terminal configurator (#1082)

* Add validation for the pin according to the configuration of the terminal of the point of sale

* validate advisor options

* validate terminal configurator

* add pin to Return Order

* remove console

Co-authored-by: elsiosanchez <[email protected]>

* List Orders to be invoiced (#1080)

* List Orders to be invoiced

* minimla changes

* fixe style

Co-authored-by: elsiosanchez <[email protected]>

* - Validate POS options (#1085)

- Fixe Delete Line Service

Co-authored-by: elsiosanchez <[email protected]>

* Modify dimensions of the order to be invoiced table (#1087)

* Modify dimensions of the order to be invoiced table

* add traslate

Co-authored-by: elsiosanchez <[email protected]>

* Add daily limit and limit per transaction (#1089)

Co-authored-by: elsiosanchez <[email protected]>

* Add function for number formatting in decimals (#1088)

* Add function for number formatting in decimals

* minimal changes

* rename function

Co-authored-by: elsiosanchez <[email protected]>

* Error adding payment (#1091)

Co-authored-by: elsiosanchez <[email protected]>

* Select a sales order (#1090)

Co-authored-by: elsiosanchez <[email protected]>

* Support for payment types in the return of funds (#1096)

* Support for payment types in the return of funds

* renaming the file

Co-authored-by: elsiosanchez <[email protected]>

* Support for zelle payment types in the return of funds (#1097)

Co-authored-by: elsiosanchez <[email protected]>

* Support for cash payment types in the return of funds (#1101)

Co-authored-by: elsiosanchez <[email protected]>

* error when adding payment (#1099)

Co-authored-by: elsiosanchez <[email protected]>

* Payment method not supported (#1098)

Co-authored-by: elsiosanchez <[email protected]>

* Validation when the order is complete (#1094)

Co-authored-by: elsiosanchez <[email protected]>

* Support for Gift Card payment types in the return of funds (#1103)

* Add different types of cards for return

* minimal changes

* Support for Gift Carts payment types in the return of funds

* translate

* minimal changes

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* fix: Load window for the first time (#1095)

* Add image at the point of sale (#1104)

* add image to pos

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Change document type at the point of sale (#1108)

Co-authored-by: elsiosanchez <[email protected]>

* show price base the info product (#1106)

* show price base the info product

* fixe style

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Support Maximum Allowable Reimbursement (#1110)

* Support Maximum Allowable Reimbursement

* remove   console

Co-authored-by: elsiosanchez <[email protected]>

* validate refund (#1109)

* validate refund

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* fixe translation (#1111)

Co-authored-by: elsiosanchez <[email protected]>

* change the tender type service (#1113)

* change the tender type service

* display of the fields

Co-authored-by: elsiosanchez <[email protected]>

* Correcting point of sale style (#1114)

* Correcting point of sale style

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Bugfix/close pin (#1115)

* Correcting point of sale style

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Add service create a customer account (#1117)

Co-authored-by: elsiosanchez <[email protected]>

* Close pin dialog (#1121)

Co-authored-by: elsiosanchez <[email protected]>

* change in the order converting the business partner into a customer (#1124)

Co-authored-by: elsiosanchez <[email protected]>

* Add service create a customer accountChanging the position of the bus… (#1118)

* Add service create a customer accountChanging the position of the business partner

* change positiion

* minimal changes

* fast order

Co-authored-by: elsiosanchez <[email protected]>

* Load the fields in the options (#1120)

* Load the fields with only one of the payment types in the return.

* remove console

* remove console

Co-authored-by: elsiosanchez <[email protected]>

* change service currency (#1125)

* change service the currency

* defaul config

Co-authored-by: elsiosanchez <[email protected]>

* Feature/add service print ticket (#1126)

* Support print ticket service

* rename dispacht

Co-authored-by: elsiosanchez <[email protected]>

* Enter for product line options section (#1127)

Co-authored-by: elsiosanchez <[email protected]>

* Fix image size for a better visualization (#1128)

Co-authored-by: elsiosanchez <[email protected]>

* associate type of payment (#1129)

* associate type of payment

* minimal change

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* change cash back (#1130)

change cash back

Co-authored-by: elsiosanchez <[email protected]>

* Default payment rule (#1131)

Co-authored-by: elsiosanchez <[email protected]>

* Remove popover from converted amount (#1132)

Co-authored-by: elsiosanchez <[email protected]>

* Fixing Refund Errors (#1133)

* fixe refund

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* fix: Docker compose up. (#1134)

* Customer support at the Point of Sale (#1136)

* Support Edtit Customer

* minimal changes

* minimal changes

* close ppover

* change the style by 2 columns

Co-authored-by: elsiosanchez <[email protected]>

* validate payment method (#1137)

Co-authored-by: elsiosanchez <[email protected]>

* Display returns (#1140)

Co-authored-by: elsiosanchez <[email protected]>

* select the content of the field by clicking on it (#1141)

* select the content of the field by clicking on it

* add NextTick

Co-authored-by: elsiosanchez <[email protected]>

* Default option on return (#1142)

Co-authored-by: elsiosanchez <[email protected]>

* support customer bank account (#1143)

Co-authored-by: elsiosanchez <[email protected]>

* Changing color of the confirm button in the return panel (#1144)

Co-authored-by: elsiosanchez <[email protected]>

* Add Discount Amount and iba Amount columns (#1145)

Co-authored-by: elsiosanchez <[email protected]>

* validate order limit (#1146)

Co-authored-by: elsiosanchez <[email protected]>

* Search the conversion rate by order date (#1148)

* Search the conversion rate by order date

* minimal changes

* validate type document

* rename funtion

Co-authored-by: elsiosanchez <[email protected]>

* process order with open balance (#1149)

Co-authored-by: elsiosanchez <[email protected]>

* currency depending on payment (#1150)

Co-authored-by: elsiosanchez <[email protected]>

* rate display in order header (#1151)

* rate display in order header

* No conversion rate to date

* remove comment

Co-authored-by: elsiosanchez <[email protected]>

* Do not modify the template business partner (#1152)

* Do not modify the template business partner

* rename isTemplateOfCustomer

Co-authored-by: elsiosanchez <[email protected]>

* add price formatting to the order history table (#1154)

Co-authored-by: elsiosanchez <[email protected]>

* Upload Image to Product Information (#1153)

* Upload Image to Product Information

* add product image as gallery

Co-authored-by: elsiosanchez <[email protected]>

* Add price format to the return (#1155)

Co-authored-by: elsiosanchez <[email protected]>

* calculate the total tax of the order (#1157)

Co-authored-by: elsiosanchez <[email protected]>

* Add product code in the price viewer (#1156)

Co-authored-by: elsiosanchez <[email protected]>

* Revert "calculate the total tax of the order (#1157)" (#1158)

This reverts commit dbacfe7.

* update order when adding a payment (#1160)

Co-authored-by: elsiosanchez <[email protected]>

* Change return card style (#1161)

Co-authored-by: elsiosanchez <[email protected]>

* display payments according to payment methods (#1163)

Co-authored-by: elsiosanchez <[email protected]>

* Order history (#1164)

Co-authored-by: elsiosanchez <[email protected]>

* Remove discount (#1165)

Co-authored-by: elsiosanchez <[email protected]>

* Disable the currency field (#1162)

* Disable the currency field

* minimal changes

* change discount

* translations

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* fixed rate in the amount (#1169)

Co-authored-by: elsiosanchez <[email protected]>

* Send all business partner data (#1180)

Co-authored-by: elsiosanchez <[email protected]>

* Validate return (#1171)

Co-authored-by: elsiosanchez <[email protected]>

* Keeping the focus when selecting a product (#1174)

Co-authored-by: elsiosanchez <[email protected]>

* Validate pin when creating an order (#1176)

* Error when opening the collection with a new order

* Validate pin when creating an order

Co-authored-by: elsiosanchez <[email protected]>

* Add focus when creating a new order (#1177)

Co-authored-by: elsiosanchez <[email protected]>

* In the business partner forms, pressing Enter should apply the same action as the ok button. (#1178)

Co-authored-by: elsiosanchez <[email protected]>

* Remove console (#1179)

Co-authored-by: elsiosanchez <[email protected]>

* Validate fields before adding payment (#1181)

Co-authored-by: elsiosanchez <[email protected]>

* Transfer payment method fields (#1182)

Co-authored-by: elsiosanchez <[email protected]>

* proposal for return cards (#1183)

Co-authored-by: elsiosanchez <[email protected]>

* Error when opening the collection with a new order (#1175)

Co-authored-by: elsiosanchez <[email protected]>

* Error when declaring or calling 'dispatch' (#1186)

Co-authored-by: elsiosanchez <[email protected]>

* Add image to the collection (#1184)

Co-authored-by: elsiosanchez <[email protected]>

* Add missing service parameters (#1185)

Co-authored-by: elsiosanchez <[email protected]>

* calculating the tax on discounting (#1187)

Co-authored-by: elsiosanchez <[email protected]>

* Error when creating new order by pos options panel (#1188)

Co-authored-by: elsiosanchez <[email protected]>

* Change point of sale order history filters (#1170)

* Change point of sale order history filters

* Adjust size

Co-authored-by: elsiosanchez <[email protected]>

* validate before adding a payment (#1189)

Co-authored-by: elsiosanchez <[email protected]>

* display the amount of tax and discount in the Point of Sale currency (#1191)

Co-authored-by: elsiosanchez <[email protected]>

* Add shipping address (#1192)

Co-authored-by: elsiosanchez <[email protected]>

* Bugfix/displaye amount convertion (#1193)

* show converted amount on the payment card

* Send Message

Co-authored-by: elsiosanchez <[email protected]>

* Validate that a Business Partner cannot be modified after collections have been recorded (#1196)

Co-authored-by: elsiosanchez <[email protected]>

* remove the zip code field in the search (#1197)

Co-authored-by: elsiosanchez <[email protected]>

* Add date field for search (#1198)

Co-authored-by: elsiosanchez <[email protected]>

* loop in the product search (#1199)

* loop in the product search

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Separate billing address and shipping address panel (#1202)

Co-authored-by: elsiosanchez <[email protected]>

* Add focus when deleting line (#1204)

Co-authored-by: elsiosanchez <[email protected]>

* Notify when you do not get the business partner (#1200)

Co-authored-by: elsiosanchez <[email protected]>

* Process order without completing the return process (#1205)

Co-authored-by: elsiosanchez <[email protected]>

* Indicate when you are loading the order history (#1206)

* Indicate when you are loading the order history

* find page

Co-authored-by: elsiosanchez <[email protected]>

* Process payments with no conversion rate (#1207)

Co-authored-by: elsiosanchez <[email protected]>

* Remove ID column from the business partner table (#1209)

* Remove ID column in business partner table

* set the waiting time for the search for a business partner

Co-authored-by: elsiosanchez <[email protected]>

* Add user to profile (#1203)

* Add user to profile

* add user

* remove console

* remove console

* change style

* delete console

* add image

Co-authored-by: elsiosanchez <[email protected]>

* Search by price list and current warehouse (#1201)

* Search by price list and current warehouse

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Validate that no business partner can be modified template (#1219)

Co-authored-by: elsiosanchez <[email protected]>

* Search for payments for the current order (#1220)

Co-authored-by: elsiosanchez <[email protected]>

* Current payment currency (#1221)

Co-authored-by: elsiosanchez <[email protected]>

* change the way you update line (#1224)

Co-authored-by: elsiosanchez <[email protected]>

* amount of tax per line (#1222)

Co-authored-by: elsiosanchez <[email protected]>

* add confirmation and cancel buttons in the product list (#1218)

Co-authored-by: elsiosanchez <[email protected]>

* Add confirm and cancel button when searching for orders (#1217)

Co-authored-by: elsiosanchez <[email protected]>

* Add confirm and cancel button in business partner search engine (#1216)

Co-authored-by: elsiosanchez <[email protected]>

* Product Search combo box ordered by value (#1225)

* #1059

* Product Search window ordered by Value or by Name #1058

Co-authored-by: elsiosanchez <[email protected]>

* Open Create, Search and Update Record panel with a single click (#1227)

Co-authored-by: elsiosanchez <[email protected]>

* Add Focus in the product search (#1228)

Co-authored-by: elsiosanchez <[email protected]>

* Support Confirm Delivery (#1226)

* Support Confirm Delivery

* minimal changes

* add buttom the remove

Co-authored-by: elsiosanchez <[email protected]>

* Support Scan Products (#1230)

Co-authored-by: elsiosanchez <[email protected]>

* Correct Payment Form Selection (#1231)

Co-authored-by: elsiosanchez <[email protected]>

* Error in Change Dialog Display (#1232)

Co-authored-by: elsiosanchez <[email protected]>

* support create a customer (#1233)

Co-authored-by: elsiosanchez <[email protected]>

* Support for action buttons in mobile mode (#1236)

Co-authored-by: elsiosanchez <[email protected]>

* Search by code Value (#1234)

Co-authored-by: elsiosanchez <[email protected]>

* Error when selecting cancel invoice with difference (#1235)

Co-authored-by: elsiosanchez <[email protected]>

* Create customer without address (#1237)

* Create customer without address

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Modify the Name of the Columns in the UI (#1238)

* Modify the Name of the Columns in the UI

* add column % Tax

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Error when canceling the order with different currency (#1239)

Co-authored-by: elsiosanchez <[email protected]>

* Does not allow to return to the previous document type (#1240)

Co-authored-by: elsiosanchez <[email protected]>

* Does not update price list (#1241)

Co-authored-by: elsiosanchez <[email protected]>

* Quick Point of Sales Options: should collapse after selection (#1242)

Co-authored-by: elsiosanchez <[email protected]>

* Sort Column Names in the UI (#1243)

Co-authored-by: elsiosanchez <[email protected]>

* fix: Change deprecated addRoutes to addRoute. (#1244)

* Sequence Increase when Changing Price List (#1248)

Co-authored-by: elsiosanchez <[email protected]>

* Add ID number in Business Partner field (#1249)

* Add ID number in Business Partner field

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* sort of the product table columns (#1251)

Co-authored-by: elsiosanchez <[email protected]>

* Place read-only edit business partner icon after completing the order. (#1252)

Co-authored-by: elsiosanchez <[email protected]>

* feat: Add support for Yarn only. (#1256)

* feat: Add support for yarn only.

* add yarn version in pull request template.

* Revert "feat: Add support for Yarn only. (#1256)" (#1257)

This reverts commit 0721850.

* Revert "fix: Change deprecated addRoutes to addRoute. (#1244)" (#1258)

This reverts commit 951762d.

* feat: Add support to yarn. (#1261)

* feat: Add support to yarn.

* fix dependabot alerts.

* fix: Change deprecated addRoutes to addRoute. (#1262)

* feat: Add plop template Composition-API component. (#1263)

* feat: Add plop template Composition-API component.

* fix path templates.

* Change style of the Mobile UI column view (#1246)

* Change style of the Mobile UI column view

* minimal chages

Co-authored-by: elsiosanchez <[email protected]>

* Default Search in the To Be Billed form (#1250)

* Default Search in the To Be Billed form

* change name field

Co-authored-by: elsiosanchez <[email protected]>

* when consulting product information when applying discount (#1259)

Co-authored-by: elsiosanchez <[email protected]>

* Validate Discount and Tax Banners (#1260)

Co-authored-by: elsiosanchez <[email protected]>

* When using different currencies to collect on an order (#1264)

* When using different currencies to collect on an order

* display the currency in which the product is searched for

* minimal changes

Co-authored-by: elsiosanchez <[email protected]>

* Process payments with no conversion rate (#1266)

Co-authored-by: elsiosanchez <[email protected]>

* Browser 404 error when selecting an entry from the path #1060 (#1267)

Co-authored-by: elsiosanchez <[email protected]>

* Fixes #1042 (#1268)

Co-authored-by: elsiosanchez <[email protected]>

* Status and New Order buttons same dimensions and font size #1056 (#1269)

Co-authored-by: elsiosanchez <[email protected]>

* upgrade axios version (#1272)

* update axios version

* add yarn lock

Co-authored-by: elsiosanchez <[email protected]>

* fixe yarn (#1273)

Co-authored-by: elsiosanchez <[email protected]>

* fix: Github action with dependencies integrity. (#1276)

Co-authored-by: Yamel Senih <[email protected]>
Co-authored-by: Elsio Sanchez <[email protected]>
Co-authored-by: elsiosanchez <[email protected]>
Co-authored-by: TaniaLucena <[email protected]>

* fix: Change role error. (#1278)

* fix: Records current tab. (#1279)

* Fixed row size in table (#1281)

Co-authored-by: elsiosanchez <[email protected]>

* Close table when clicking on group of fields (#1282)

Co-authored-by: elsiosanchez <[email protected]>

* fix: Field style label and content. (#1283)

* fix: Record count pagination. (#1285)

* feat: Add show/hide optional fields. (#1290)

* feat: Add load report/process panel. (#1292)

* feat: Add load report/process panel.

* fix set default values.

* fix readonly and mandatory.

* fix mandatory column.

* feat: Add SB show/hide fields (#1293)

* feat: Enable browser search. (#1294)

* feat: Add zoom in (#1135)

* feat: Zoom In

* implement zoomIn

* set panel values.

* add zoom in reference window.

* fix columnName doc status

* fix: Multiple requests private access. (#1299)

* feat: Add window zoom in smart browser. (#1300)

* feat: Add smart browser zoom in window.

* fix comments.

* fix: Showed/hidden field with dispayed manager. (#1307)

* feat: Remove deprecated attribure displayColumn. (#1308)

* feat: Remove deprecated attribure displayColumn.

* fix set displayed value.

* fix set displayed value.

* get value.

* fix: Open report panel. (#1309)

* fix: Open report panel.

* fix comments.

* fix: Calculator value. (#1316)

* fix: Calculator value.

* fix hidden calc.

* change path.

* fix: Fields options popover style. (#1317)

* fix: Fields options popover style.

* rename fields options.

* fix lang and composition api.

* feat: Remove sql in Window and SB panels. (#1326)

* feat: Add smart browser load table records. (#1357)

* feat: Add hide only this field. (#1362)

* feat: Add custom pagination. (#1364)

* feat: Add translation tab. (#1380)

* feat: Add translation tab.

* change description and help text.

* change comment.

* fix: Get private access request. (#1382)

* feat: Refactor lookup manager. (#1384)

* feat: Refactor lookup manager.

* fix default value with sql.

* rename lookup getters.

* fix: Multiple request default value by sql. (#1385)

* fix: Is read only form if isActive changed. (#1388)

* feat: Add style to mandatory empty field. (#1391)

* feat: Add run process or report panel. (#1392)

* fix: Parameters isRange number (#1393)

* feat: Remove old context menu implementation. (#1394)

* feat: Add document status field option. (#1397)

* feat: Add document status field option.

* remove unused property.

* Update index.vue

* feat: Add collapse tabs. (#1401)

* feat: Add collapse tabs.

* fix current tab metadata.

* feat: Load records in tab child. (#1403)

* feat: Load records in tab child.

* remove old fieldIsDisplayed implementacion.

* feat: Edit records in table (#1404)

* feat: Load records in tab child.

* remove old fieldIsDisplayed implementacion.

* feat: Add edit records in table.

* revert changes.

* delete empty file.

* feat: Remove old table implementation. (#1405)

* feat: Remove old table implementation.

* fix comments.

* feat: Add get cell value from table records. (#1407)

* fix: Create new component composition api template (#1408)

* fix: Set default values with containerManager. (#1410)

* feat: Add selection table records. (#1409)

* feat: Add selection table records.

* change variable name.

* update window-redefinition-with develop. (#1412)

* fix: Number field text align right. (#1447)

* fix: Number field text align right.

* fix align in cell table.

* feat: Implement new document status component. (#1448)

* fix: Displayed column type button in table. (#1446)

* fix: Default value send multiple request. (#1449)

* fix: New parent record show old records tab childs (#1452)

* fix: New parent record show old records tab childs

* delete console.log.

* fix set context value.

* bugfix: Set values. (#1453)

* feat: Process associated browser. (#1454)

* feat: Process associated browser.

* add default name.

* fix: Load records in tab parents. (#1455)

* fix: Field logics. (#1457)

* fix: Field logics.

* fix fields list.

* fix: Load field location address. (#1460)

* fix: Load field location address.

* fix set city and rgion name.

* fix set attributes to server.

* Fix field loading in the pos

* Merge remote-tracking branch 'adempiere/develop' into
feature/unify-redifinition

* fix lang translations.

* fix pos errors.

* Fix field loading in the pos

* fix: List orders (#6)

Co-authored-by: Edwin Betancourt <[email protected]>
Co-authored-by: Yamel Senih <[email protected]>
Co-authored-by: elsiosanchez <[email protected]>
Co-authored-by: TaniaLucena <[email protected]>
  • Loading branch information
5 people authored Jan 24, 2022
1 parent dd57411 commit 4ef15a1
Show file tree
Hide file tree
Showing 289 changed files with 37,303 additions and 14,857 deletions.
19,224 changes: 19,224 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

36 changes: 19 additions & 17 deletions plop-templates/ADempiere/component/compositionApiTemplate.hbs
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
// ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
// Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
// Contributor(s): Edwin Betancourt [email protected] www.erpya.com
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
<!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Edwin Betancourt [email protected] www.erpya.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https:www.gnu.org/licenses/>.
-->

{{#if template}}
<template>
Expand All @@ -24,15 +26,15 @@
<script>
import { defineComponent } from '@vue/composition-api'
export default {
export default defineComponent({
name: '{{ capitalize name }}',
props: {},
setup(props, { root }) {
return {}
}
}
})
</script>
{{/if}}

Expand Down
24 changes: 23 additions & 1 deletion plop-templates/ADempiere/component/index.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
<!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Edwin Betancourt [email protected] www.erpya.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https:www.gnu.org/licenses/>.
-->

{{#if template}}
<template>
<div />
Expand All @@ -7,12 +25,16 @@
{{#if script}}
<script>
export default {
name: '{{ properCase name }}',
name: '{{ capitalize name }}',
props: {},
data() {
return {}
},
computed: {},
methods: {}
}
</script>
Expand Down
36 changes: 19 additions & 17 deletions plop-templates/ADempiere/view/compositionApiTemplate.hbs
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
// ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
// Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
// Contributor(s): Edwin Betancourt [email protected] www.erpya.com
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
<!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Edwin Betancourt [email protected] www.erpya.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https:www.gnu.org/licenses/>.
-->

{{#if template}}
<template>
Expand All @@ -24,15 +26,15 @@
<script>
import { defineComponent } from '@vue/composition-api'
export default {
export default defineComponent({
name: '{{ capitalize name }}',
props: {},
setup(props, { root }) {
return {}
}
}
})
</script>
{{/if}}

Expand Down
26 changes: 25 additions & 1 deletion plop-templates/ADempiere/view/index.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
<!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Edwin Betancourt [email protected] www.erpya.com
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https:www.gnu.org/licenses/>.
-->

{{#if template}}
<template>
<div />
Expand All @@ -7,14 +25,20 @@
{{#if script}}
<script>
export default {
name: '{{ properCase name }}',
name: '{{ capitalize name }}',
props: {},
data() {
return {}
},
computed: {},
created() {},
mounted() {},
methods: {}
}
</script>
Expand Down
2 changes: 2 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
</template>

<script>
// components and mixins
import ModalIdle from './components/ADempiere/ModalIdle'
export default {
name: 'App',
components: { ModalIdle },
Expand Down
42 changes: 23 additions & 19 deletions src/api/ADempiere/actions/private-access.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@
// Get Instance for connection
import { request } from '@/utils/ADempiere/request'

// Get private access for a record
import { camelizeObjectKeys } from '@/utils/ADempiere/transformObject'

/**
* Get private access for a record
* @param {string} tableName
* @param {number} recordId
* @param {string} recordUuid
*/
export function getPrivateAccess({
tableName,
recordId,
Expand All @@ -33,16 +40,16 @@ export function getPrivateAccess({
}
})
.then(responsePrivateAccess => {
return {
tableName: responsePrivateAccess.table_name,
recordId: responsePrivateAccess.id,
recordUuid: responsePrivateAccess.uuid,
isLocked: responsePrivateAccess.is_locked
}
return camelizeObjectKeys(responsePrivateAccess)
})
}

// Lock a record for a user
/**
* Lock a record for a user
* @param {string} tableName
* @param {number} recordId
* @param {string} recordUuid
*/
export function lockPrivateAccess({
tableName,
recordId,
Expand All @@ -58,15 +65,16 @@ export function lockPrivateAccess({
}
})
.then(responsePrivateAccess => {
return {
tableName: responsePrivateAccess.table_name,
recordId: responsePrivateAccess.record_id,
recordUuid: responsePrivateAccess.record_uuid
}
return camelizeObjectKeys(responsePrivateAccess)
})
}

// Unlock a record from a user
/**
* Unlock a record from a user
* @param {string} tableName
* @param {number} recordId
* @param {string} recordUuid
*/
export function unlockPrivateAccess({
tableName,
recordId,
Expand All @@ -82,10 +90,6 @@ export function unlockPrivateAccess({
}
})
.then(responsePrivateAccess => {
return {
tableName: responsePrivateAccess.table_name,
recordId: responsePrivateAccess.record_id,
recordUuid: responsePrivateAccess.record_uuid
}
return camelizeObjectKeys(responsePrivateAccess)
})
}
10 changes: 2 additions & 8 deletions src/api/ADempiere/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ export function requestBrowserSearch({
uuid,
parametersList = [],
tableName,
query,
whereClause,
orderByClause,
limit,
contextAttriburesList = [],
nextPageToken: pageToken,
pageSize
}) {
Expand All @@ -63,10 +60,7 @@ export function requestBrowserSearch({
// DSL Query
filters,
// Custom Query
query,
where_clause: whereClause,
order_by_clause: orderByClause,
limit
context_attributes: contextAttriburesList
},
params: {
// Page Data
Expand Down
Loading

0 comments on commit 4ef15a1

Please sign in to comment.