forked from adempiere/adempiere-vue
-
-
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.
- Loading branch information
1 parent
1400e8a
commit 231f78e
Showing
28 changed files
with
1,469 additions
and
1,012 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
// ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution | ||
// Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A. | ||
// Contributor(s): Yamel Senih [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) 2018-Present E.R.P. Consultores y Asociados, C.A. www.erpya.com | ||
* Contributor(s): Edwin Betancourt [email protected] https://github.com/EdwinBetanc0urt | ||
* 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/>. | ||
*/ | ||
|
||
import { isEmptyValue } from '@/utils/ADempiere' | ||
import { request } from '@/utils/ADempiere/request' | ||
|
||
// Utils and Helpers Methods | ||
import { isEmptyValue } from '@/utils/ADempiere/valueUtils' | ||
|
||
/** | ||
* List Countries | ||
*/ | ||
|
||
export function listCountries({ | ||
export function listCountriesRequest({ | ||
sortBy, | ||
filters, | ||
searchValue, | ||
|
@@ -42,10 +45,9 @@ export function listCountries({ | |
} | ||
|
||
/** | ||
* Get Countries | ||
* Get Country | ||
*/ | ||
|
||
export function getCountries({ | ||
export function getCountryRequest({ | ||
id, | ||
filters, | ||
searchValue, | ||
|
@@ -67,8 +69,7 @@ export function getCountries({ | |
/** | ||
* List Regions | ||
*/ | ||
|
||
export function listRegion({ | ||
export function listRegionsRequest({ | ||
countryId, | ||
searchValue | ||
}) { | ||
|
@@ -84,8 +85,7 @@ export function listRegion({ | |
/** | ||
* List Cities | ||
*/ | ||
|
||
export function listCities({ | ||
export function listCitiesRequest({ | ||
countryId, | ||
regionId | ||
}) { | ||
|
@@ -107,8 +107,7 @@ export function listCities({ | |
/** | ||
* Get Location (Address) | ||
*/ | ||
|
||
export function getAddress({ | ||
export function getLocationAddressRequest({ | ||
id | ||
}) { | ||
return request({ | ||
|
@@ -120,8 +119,7 @@ export function getAddress({ | |
/** | ||
* Create Location (Address) | ||
*/ | ||
|
||
export function createAddress({ | ||
export function createAddressRequest({ | ||
countryId, | ||
regionId, | ||
cityId, | ||
|
@@ -162,8 +160,7 @@ export function createAddress({ | |
/** | ||
* Update Location (Address) | ||
*/ | ||
|
||
export function updateAddress({ | ||
export function updateAddressRequest({ | ||
id, | ||
countryId, | ||
regionId, | ||
|
60 changes: 0 additions & 60 deletions
60
src/components/ADempiere/FieldDefinition/FieldLocationAddress/Fields/Address.vue
This file was deleted.
Oops, something went wrong.
60 changes: 0 additions & 60 deletions
60
src/components/ADempiere/FieldDefinition/FieldLocationAddress/Fields/Address2.vue
This file was deleted.
Oops, something went wrong.
60 changes: 0 additions & 60 deletions
60
src/components/ADempiere/FieldDefinition/FieldLocationAddress/Fields/Address3.vue
This file was deleted.
Oops, something went wrong.
60 changes: 0 additions & 60 deletions
60
src/components/ADempiere/FieldDefinition/FieldLocationAddress/Fields/Address4.vue
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.