Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get seller earnings #14

Closed
oscargare opened this issue Apr 15, 2017 · 0 comments
Closed

get seller earnings #14

oscargare opened this issue Apr 15, 2017 · 0 comments

Comments

@oscargare
Copy link

Hi, I don't sure but I think that the function dokan_get_seller_earnings must get earnings from dokan_orders table instead of from WC_Orders.

I'm integrating Dokan with PBC multicurrency plugin, to do this I'm updating dokan_orders to store total_sales and net_amount in base currency after apply exchange rate so if the function dokan_get_seller_earnings calculates earnings again the Dashboard earnings big counter displays a wrong amount.

nurul-umbhiya pushed a commit that referenced this issue Oct 5, 2023
* updated apiUtils

* updated apiUtils endpoints nd tests

* fixed  api tests

* fixed some tests

* fixed some tests

* add new api tests

* merged both suites

* merged both suites

* have both suites

* update apiutils & removed query from apiendpoints

* update api tests

* removed query from global setup

* removed query from global setup

* updated global setup: api context. playwright config

* updated playwright config

* updated playwright config

* updated local site setup

* updated local site setup

* updated api suite

* updated api suite

* added composer update

* added composer update dokan pro

* added npm i for project

* added npm i for project

* added npm i for project

* added npm i for project

* q

* fixed refund tests

* fixed refund tests & update apiutils

* updated config, yml

* updated config, yml

* updated config

* updated yml

* updated yml

* q

* updated yml & apiUtils

* deleted packagelock

* added dokan package.lock.json

* update: yaml

* update:test summary (#5)

* update:test summary

* update:added lock file

* update:added files

* added new tests

* added new tests

* added new lite tests

* add db env types

* add new tests

* added new admin tests

* added new admin tests

* newLitetests (#7)

* add new tests dokan lite

* add new tests dokan lite1

* add new tests dokan pro

* add new tests dokan pro

* add new tests dokan pro

* add new tests dokan pro

* add new tests dokan pro

* add new tests dokan pro

* add new tests dokan pro

* add new tests dokan pro

* add seller badge tests

* add seller badge tests

* add tools tests

* add tools tests

* add modules tests

* add verification tests

* add advertising tests

* fix:selector issue

* added new refunds tests

* added new refunds tests

* added new rfq tests

* add tests rfq

* add tests rfq

* add tests reports

* add license tests

* update import style

* added test tag

* added settings page

* added help page

* added wholesale & tools  page

* added modules page

* added advertising  page

* added verifications page

* added reports and refunds  page

* added announcements seller badge req store support store reviews  page

* added abuse reports & reverse withdraws  page

* added  withdraws page

* added admin dashboard page

* added propromo  localsetup  page

* removed skip from describe

* add wholesale customerse

* add wholesale customerse

* add wholesale customerse

* add wholesale customerse

* fix some testse

* fix some tests

* Nt (#8)

* fix some tests

* fix some tests

* fix some tests

* fix some tests

* fixed some issues

* fix some tests

* fix some tests

* fix some tests

* fix some more tests

* update some  tests store support

* update some tests store support

* update seller badge tests

* update tests

* update qpiUtils

* update seller Badge tests

* update product advertising  tests

* update suite  tests

* update rfq tests

* update yml

* update announcements

* update announcements test

* update announcements test

* update announcements test

* update advertising test

* update advertising test

* update wholesale test

* update wholesale test

* update refunds test

* update refunds test

* update reporst test

* update reporst test

* update repors test

* update refunds test

* update reports test

* package.json

* update some tests

* update some tests

* update some tests

* update some tests

* update some tests

* update some tests

* update some tests

* update some tests

* update some tests

* update some tests

* update store categories  tests

* update assertion style

* update some tests

* update some testdata

* update auction test

* update some page

* down some todos

* update suburls and split admin page

* update structure

* add coupon tests

* add interfaces

* add interfaces

* add interfaces to pages

* add interfaces to pages

* add interfaces to pages

* add interfaces to pages

* add interfaces to pages

* complete some todos

* complete some todos

* complete some todos

* fix settings locator issue

* fix settings locator issue

* added global teardown

* added lite only flag

* update yml

* update yml

* update store tests

* update store tests

* update yaml

* update test tag

* added new customer lite tests

* added new customer lite tests

* added new customer lite tests

* added new customer lite tests

* added new store list tests

* added my order tests

* added my order tests

* added my order tests seperately

* added multiple tests imp

* updated multiple tests imp

* upddate review

* upddate storelisting

* fix issues

* update store listing tests

* update shop page tests

* update my order tests

* update my order tests

* update single product tests

* update single product and abuse report tests

* update product enquiry  tests

* update single product tests

* update single product tests

* update single product tests

* update single product tests

* added vendor dashboard tests

* added vendor staff  tests

* added vendor followers  tests

* added fix some tests

* added fix some tests

* added fix some tests

* remove test.only

* update yaml

* update yaml

* update yaml

* update yaml

* added product and order tests

* fix tests

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* fixing tests

* add coupons test

* remove test. only

* fix some tests

* added order tests

* added order tests

* added payment tests

* fix coupons and order  tests

* fix order tests

* fix product tests

* fix product tests

* fix support ticket tests

* fix support ticket tests

* fix some flaky tests

* fix some flaky tests

* fix & updated some flaky tests

* fix withdraw and some flaky tests

* fix withdraw and some flaky tests

* fix coupons test

* fix product store map  test

* update context based on roles

* update some flaky test and replace waitForNavigation

* remove test.only

* remove --auth.spec.ts

* updated gitignore

* fixed some todos

* fixed some todos, update afterall, added new tests

* fixed env

* fixed env

* fixed some todos

* remove testonly

* revert docontentloaded to networkidle

* revert docontentloaded to networkidle

* revert afterall

* revert afterall

* update some test

* update some test

* update some test

* update some test

* move todos from tests to todo

* move todos from tests to todo

* move todos from tests to todo

* move todos from tests to todo

* fix some flaky

* fix some flaky

* fix some flaky

* fix some flaky

* fix skipped test

* fix skipped test

* added new tests

* added new tests

* added fixed vendor staff tests

* added fixed vendor staff tests

* added auction tests

* added auction tests

* added booking tests

* added booking resouce tests

* added booking resouce tests

* fixed flaky tests

* fixed flaky tests

* added review tests

* added review tests

* fixed failed  tests

* fixed failed & flaky tests

* resolved: .rowaction locator issue, remove redundant function, split tests into separate group

* fixed a flaky tests

* fixed a flaky tests

* fixed a flaky tests

* fixed a flaky test

* removed test.only

* fixed edit auction test

* Protests (#10)

* added user subscription test

* added rma tests

* added rma tests

* update customer page

* update customer page

* update customer page

* update customer page

* update customer page

* update customer

* fix some todos

* updated test tags

* updated tests

* updated tests

* updated tests

* updated product tests

* updated vendor page, moved tests to new files, added spmv test

* added seo test

* fixed failed tests

* remove testonly

* add some todos

* fix some tests

* fix some tests

* fix some tests

* fix some tests

* skipped falky tests

* skipped falky tests

* fix: permalink issue

* fix: permalink issue

* updated wp-env

* updated wp-env

* updated __auth

* run test on hpos branch

* fixed flaky tests

* update yml

* skipped some test

* resolved conflict

* update tests

* Update e2e-tests.yml

* Update e2e-tests.yml

* Newtests (#12)

* resolved falky test

* resolved falky test

* resolved falky test

* resolved falky test

* resolved falky test

* resolved falky test

* update test data

* update rfq

* qqq

* update refund

* update refund

* update tests

* update tests

* update tests

* update tests

* hpos tests

* added reverse withdraw and some new tests

* added vendor quote request tests

* added customer quote request tests

* added customer quote request tests

* fixed failed tests

* added rfq customer tests

* added new customer tests

* added new storlisting tests

* added new delivery time tests

* added myorder test

* fixed faied & flaky test

* added new tests

* fixed flaky

* add lock file

* fixed failed test

* fixed failed test

* added new tests

* added new tests

* added new support ticket tests

* update support ticket tests

* update support ticket tests

* update subscription tests

* update subscription tests

* update some todos

* update some assertions

* fixed failed tests

* fixed failed tests

* resolved some todos

* resolved some todos

* resolved some todos

* resolved some todos

* add: sellerbadge test

* add: store test

* update suite

* update suite

* update todos

* update verifications tests

* update wholesale tests

* update wholesale tests

* update announcement tests

* update verification tests

* update verification tests

* update verification tests

* add env overrider

* update helpers

* update helpers

* update helpers

* update env

* update yml

* update yml

* update yml

* update yml

* update yml

* update yml

* reverted all unnecessary changes

* added new spmv test

* added new spmv test

* added new spmv test

* update spmv

* added new spmv test e2e & api

* added new settings test

* added new booking tests

* added new booking tests

* added hpos option

* resolved auction todo

* fix email verification

* added payment gateway payloads

* added new booking tests

* update tests

* update package.json

* update rfq tests

* update rfq

* update rfq tests

* update suite

* update lock file

* update suite

* update suite

* update suite

* remove unnecessary lines and files

* update yml and env for lite repo

* update readme

* refactor: setup tests for lite

* refactor: setup tests for lite

* refactor: setup test describe

* refactor: setup test filename

* refactor: setup test filename

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: orders spec for lite

* refactor: suite for only lite

* refactor: suite for only lite

* refactor: suite for only lite

* refactor: suite for only lite

* removed unnecessary files

* update yml and removed console log

* update some todos

* update some todos

* update some type def

* update storage state

* update browser context

* update eslint

* update apiutils

* update apiutils

* update apiutils

* update suite: fix linter, delete unnecessary files

* replaced uuid with nanoid

* resolved some failed tests

* updated packages and linters

* fixed some tests

* fix some failded tests

* add annotation for failed tests

* update getSellerId method apiutils

* update prettierrc

* update tests

* update tests

* update tests

* update tests

* update tests

* update tests

* update tests

* add linter

* fix linter

* update import

* update linter

* update linter

* update lockfile

* update lint

* update lint

* update lint

* add new tests

* update yml

* add new api tests

* add one page product tests

* add coverage report, added new api tests  (#14)

* added linter & formatter

* update yml and package.json

* update prettierrc

* update prettierrc

* added path in tsconfig, update package import

* fix linter issue

* fix linter issue

* fix linter issue

* update suite

* fix linter issue

* update linter

* update lint

* update linter

* update lint

* merged e2e

* merged e2e

* update yml

* update yml

* added coverage report & update all api tests

* add new api tests

* update suite

* rm

* update vendorstaff tests

* fix linter issues

* update yml

* update yml

* fix linter issues

* update setup tests

* update yml

* update env.json

* update readme

* update readme

* update spmv test for one page product feature

* coveert setup files to spec

* fix failed tests

* update lite

* update lite

* update tests for new changes

* removed .vscode folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant