Aller au contenu principal

Commandes initiees

Onglet Commandes initiees (/app/ecommerce/intents). Demandes clients via WhatsApp a convertir en facture.

Sans boutique

Message + Creer ma boutique vers Parametres.

En-tete

Titre Commandes initiees avec sous-titre (WhatsApp vers facture brouillon). Badge du nombre en attente.

Recherche

Reference, client, telephone, produit ou entrepot.

Tableau

ColonneContenu
ReferenceIdentifiant commande
ClientNom
TelephoneLien WhatsApp
ProduitArticle demande
EntrepotBadge ou A assigner
DateDate de la demande
ActionsVoir le produit (externe), Traiter

Traiter une commande

Bouton Traiter :

  • si l'entrepot manque : modale Choisir l'entrepot (select rechercheable, contexte reference + produit) ;
  • creation d'une facture brouillon dans Facturation ;
  • redirection vers la facture creee.

Etats vides

  • Erreur API affichee si echec ;
  • Aucune commande en attente avec explication.