woocommerce/plugins/woocommerce-admin/client/marketing/data-multichannel
Gan Eng Chin 6246cf6ff2
Marketing: Add "Sales" column in Campaigns card (#43284)
* Add sales property to MarketingCampaign class.

* Return campaign sales data in API.

* Display Sales in Campaigns card.

* Fix test for useCampaigns.

* Display a "-" when there are no cost or sales value in Campaigns card.

* Add changelog.

* Fix test for useCampaigns hook.

* Fix PHP lint issue.
2024-01-19 01:42:35 +08:00
..
action-types.ts Simplify wp.data for receiveCampaignTypes. 2023-03-03 00:24:51 +08:00
actions.ts Simplify receiveCampaignTypes. 2023-03-03 00:54:21 +08:00
constants.ts Call marketing channels API with wp.data. 2023-01-18 02:04:42 +08:00
controls.ts Remove unused fetchWithHeaders control. 2023-02-24 23:35:40 +08:00
guards.ts Call marketing channels API with wp.data. 2023-01-18 02:04:42 +08:00
index.ts Add controls with fetchWithHeaders. 2023-02-24 02:08:59 +08:00
reducer.ts Make the `useCampaigns` hook support being used with multiple instances (#41211) 2023-12-05 11:20:05 +08:00
resolvers.ts fix: applied lint autofixes (#39942) 2023-08-30 06:40:45 +08:00
selectors.ts Make the `useCampaigns` hook support being used with multiple instances (#41211) 2023-12-05 11:20:05 +08:00
types.ts Marketing: Add "Sales" column in Campaigns card (#43284) 2024-01-19 01:42:35 +08:00