Replies: 12 comments 18 replies
-
Awesome stuff @esafwan! You can use this: https://docs.erpnext.com/docs/v13/user/manual/en/accounts/point-of-sales for ideas/guidance, to test it out you can check the demo: https://erpnext.com/demo. Any queries you can post it here, just tag me or @ankitsinghaniyaz we'll take a look. As for development, I'd try getting the business logic down first then focus on the UI. |
Beta Was this translation helpful? Give feedback.
-
So far, I have been successful in doing the following:
Next steps I plan to do:
|
Beta Was this translation helpful? Give feedback.
-
Update: |
Beta Was this translation helpful? Give feedback.
-
@18alantom I am still figuring out how everything works. So, I am not bothering much about how it is coded. However, I have started everything on a fresh branch with commits that makes sense to me. So that I can track all my changes and later replicate them in a cleaner way. Ideally, as you said in a different POS UI that can be triggered from anywhere. Let me also have a look at |
Beta Was this translation helpful? Give feedback.
-
I have created a pay button to test the function where I can save, submit and pay in one go. What will be the right way to go ahead? I am creating a function that will be called when pay is clicked. Which in return will call the on I am also still not sure how I can invoke the pay action from within the invoice page(will be changed later), in this case. |
Beta Was this translation helpful? Give feedback.
-
@18alantom
Next, in a fresh branch created from master, I am creating a separate POS form by the name However I am stuck at:
How can I make a button load the |
Beta Was this translation helpful? Give feedback.
-
Update: I have not been able to put much time into the last 3 weeks due to some other engagements. I am expecting to get back to this and try to finish a PoC starting next week. |
Beta Was this translation helpful? Give feedback.
-
@18alantom I restarted from scratch after understanding the Frappe Books code base better. As of now, I have cloned the invoice form as a base & started changing its layout to that of a POS. I have for now added some dummy product cards to finish the layout part. |
Beta Was this translation helpful? Give feedback.
-
Further Updates:
Below is the relevant code snippet (commit):
In a quick look, couldn't figure out how to use getFormPath to expose POS form. |
Beta Was this translation helpful? Give feedback.
-
The item grid on pos now loads from actual items. Also added a button to add to the invoice.(see image below) I am stuck here. I am not able to figure out how I can add an item to the current invoice. In older version of Frappe Books, I had done it with the below code:
I understand there has been some refactor and I am aware of FYO. I tried both the codes below with no success: Code 1:
The above code returns no error but doesn't work. Code 2:
The above code, returns the below error:
The actual source code is here. |
Beta Was this translation helpful? Give feedback.
-
@18alantom Thank you for the prompt support. I have a functional POS UI ready now. Possible next steps:
|
Beta Was this translation helpful? Give feedback.
-
Is there a possibility to add customer name number address and nature of work |
Beta Was this translation helpful? Give feedback.
-
I am trying to build a quick POS interface for Frappe Books. I had suggested books to a few small businesses and individual shops.
However, while it was useful many needed a POS like interface. For example small Kirana stores.
For now, I have managed to add a link on the sidebar under sales & am trying to build a usable UI. This is my first time with Vue and Electron. However, experience working on React and NodeJs is helping me progress.
I was wondering if there would anyone from the Books team, who I can connect with to get direction and also get back in case I have any queries. Also, any suggestion on how to go ahead with development will help too.
Original Issue: #289
Beta Was this translation helpful? Give feedback.
All reactions