Close / Reopen businesses

T3 OKR-4

See

Set

Sync

  • [MT-381] As a Business Manager/ORG Admin, when I connect on "All my businesses" page, I see closed business in the business list in the “All“ tab

Prepare

  • [MT-386] As a Customer Care/Success, when I edit a business status, I see only open, to_check, closed statuses
  • [MT-432] AAUser, when I go to business list, I see a filter chip status
  • [MT-433] AAUser, when I click on status filter chip in business list, I see a pane opened with the values of the status
  • [MT-436] AAUser, when I have no business closed after applying the filter, I see an empty placeholder
  • [MT-438] AAPM, when I type $r.store.getState().form.additionalInfo in the React inspector console, I see the a status parameter with the value of business.status selected
  • [MT-382] As a Business Manager/ORG Admin, when I edit a business and click on "Additional information" tab, I see a new section used to closed businesses
  • [MT-385] As a Business Manager/ORG Admin, when a business is closed, I see the close section as below.
  • [MT-383]As a Business Manager/ORG Admin, when I click on the "Mark as closed" button of the Additional information tab of the business edit, I see a confirmation modal
  • [MT-420] AABusinessManager, when I click on the confirmation in the modal, I see the business is saved with status definitely closed
  • [MT-384] As a Business Manager/ORG Admin, when a business is closed, I see only the "Additional information" tab usable (other tabs are deactivated). Moreover, SIRET fields of the "Additional information" tab.
  • [MT-437] AAUser, when a business is closed, I see the save buttons are disabled
  • [MT-434] AAUser, when I want to edit a business closed, I am redirected to the "Additional information" tab
  • [MT-390] As a Product Manager, when business had a definitely_closed status, I see business status have been migrated to closed
  • [MT-393] As a business Manager/ORG Admin, when I click on "Reopen this business" button, I see business has been reopened and I can update its information.
  • [MT-442] AACare, when I push a business closed on Foursquare, I see in the Pusher Log 'FlagAsClosedPusher' as step pusher
  • [MT-443] AACare, when I push a business closed on GMB, I see in the Pusher Log 'ClosePusher' as step pusher
  • [MT-449] AACare, when I push a business closed on Facebook, I see in the Pusher Log 'ClosePusher' as step pusher
  • [MT-444] AACare, when I push a business closed on Navads, I see in the Pusher Log 'DeletionPusher' as step pusher
  • [MT-445] AACare, if I push a closed business on Justacote, I see a DeletionPusher in Pusher logs and the publisher id is deleted on success
  • [MT-450] AACare, if I push a closed business on le 118000 and it is validated by a call on our hook, I see a DeletionPusher in Pusher logs and the publisher id is deleted on success
  • [MT-451] AAUser, when I click on a status, it filters the business with the status selected and update the counter in the active tab
  • [MT-452] AAUser, when I display the business selector modal, if a business is closed, I see a label "Definitely closed" in the business card
  • [MT-447] AAUser, when I want to edit a business closed, I am redirected to the "Additional information" tab from the Business Edit selector
  • [MT-446]AAPM, when I inspect the code on business edit, I see it uses new component PTab