Comment attribuer un prix à un élément d'une liste (Caisse enregistreuse)

En fait il s'agit d'une petite association et je serais le seul à utiliser l'appli sur ma tablette perso.
Pour l'instant j'utilise une version gratuite d'une appli "caisse-enregistreuse" mais je n'ai rien trouvé de simple et adapté. Je me suis donc lancé le défi de créer mon appli. (pour l'instant j'ai l'impression que le défi est :visage_chaud:)
Lorsque le client à terminer sa commande, après qu'il ait payé, je souhaite cliquer sur un bouton qui enclenche plusieurs actions :

  • Enregistre la commande (heure et date du jour par exemple)
  • Vide la liste pour pouvoir prendre une nouvelle commande
    Si Excel n'est pas bien supporté, je souhaite créer une page récapitulative de ma journée (tant en boissons, tant en crêpe). Et pouvoir récupérer les récapitulatifs sur un mois par exemple.

Laisse moi un peu de temps et je verrai ce que je peux te proposer....

Cool merci

Essayez ceci, ce n'est pas fini mais devrait vous donner une idée...

Caisse_Enregistreuse.aia (7.3 KB)

Excusez mon français traduit :wink:

1 Like

Pour votre français... Il est très bien :clin d'œil:
Quand vous dites un peu de temps je pensais quelques jours ! Moi, en quelques mois je n'arriverai pas à ce résultat.
Comme vous l'aurez remarqué je suis débutant, alors j'ai une question de vrai débutant : lorsque je clique sur "Nouvel Commande" des boutons et listes apparaissent. Mais quand je suis dans le Designer je ne les voient pas. Et quand je suis dans le "Blocs" je ne vois pas non plus où ils sont créés ! Comment est ce que vous faites ?

I have used some vertical arrangements, and change their visiblity depending on which button is pressed. This allows you to have many activities on one screen without to much clutter. If you follow the blocks you will see where the arrangements are made visible and hidden again.

The buttons for Commande En Cours and Histoire have a double function, one press to show, another press to hide.

1 Like

D'accord, je vais suivre des tutos pour comprendre comment vous avez fait. Ca, ça devrait être possible pour moi...

Après quelques lectures... J'ai compris ! Très pratique pour éviter de passer des données d'un screen à l'autre
:léger_sourire:

Bonjour,
Le bouton "Commandes En cours", si je comprends bien, rend visible la commande. Je n'en ai pas besoin sauf si cela est important pour l'enregistrement.
Le bouton "nouvelle commande" est important car il définit le numéro de commande ainsi que la date et l'heure de la prise de commande.
Je ne comprends pas le bouton histoire ni la ListView 3. Peux tu m'expliquer ?

Process

Create new order
Submit a new order to Current orders
(then you can create another new order, or...)
View Current orders
On selecting a current order this is completed, removed from current orders and added to the Histoire / history list
View History
Shows all completed orders (this list can be developed to export it to a text/csv file for further analysis either on or off the device)

Does this help ?

1 Like

It helps me but...
When I look at the Blocks I have the impression that it is the "Entrer la Commande" button which saves the current order and that the "Commande En Cours" button is only used to display the last order recorded. I am wrong ?
The "Histoire" button displays nothing other than "Histoire". Is this normal?

I will make a short video, that might help....:wink:

1 Like

This. App. Is. Amazing.
Period.

1 Like

Ah yes ... I understand better! :grin:
Is it possible to delete the "Commande en cours" button and put the order in the history when you click on "Entrer la Commande " ?
Is it possible to ensure that the choice of a product is deleted when clicked. So in case of error, the product disappears from the order list.
Thank you very much for the little video ... You are really strong and responsive.Ah oui ... Je comprend mieux ! :grin:

Yes, all these things are possible. Make a copy of the project so that you have a reference.

To remove the Commande de Cours button, you will have to change the actions in the Entrer La Commande button click to send the data to the Histoire list.

To remove items, use the after selecting event to offer you a choice (use the Notifier component), to remove the item from the list (then the actions to do it) or to cancel.

2 Likes

Maybe something like this?


Sorry about the wonky colors.

I tried to remove the "Commande En Cours" button. The orders appear in the history but with write errors.
I tried order deletion by clicking in the list. I don't need confirmation. This gives me an error message.
I put my file as an attachment :wink:Caisse_Enregistreuse_sans_bouton_commandes_en_cours.aia (8.2 KB)

Try this:

Caisse_Enregistreuse_V2.aia (8.1 KB)

So you never sleep !! :relieved:

It works :grinning:

Now I will find out how to export in CSV format as you suggested to me. I would like to be able to retrieve the data day by day to do the accounts by separating the drink part from the pancake part and if possible also by separating each product to quickly see which drinks sell the most ... or which pancakes.

When I struggle a little ... I will ask you for help again ...

It may actually be easier to export the list in histoire to a csv file, then work on extracting the data using Excel.

Alternatively we could start all over again and make you have csv tables in the first place!