Home › Forums › Quform WordPress › Help with counting
- This topic has 12 replies, 2 voices, and was last updated 10 months ago by Ally.
- AuthorPosts
- January 15, 2024 at 6:23 am #36406IcemanmxParticipant
Hello again.
I need a big help to do this…As you can see i have ten partidas, and each partidas have Quantity, Price and Total.
I need to count together all Total so it get a Sub Total, then it needs to count out the I.V.A 16% what is the taxses and give me the total amount.So if i have 2 partidas and the first is Cantidad 10, Price 10.00 and that is a total of 100.00
Then i have second partida Cantidad 20, Price 20.00 and that is a total of 200.00.So the total of this 2 is 300.00
Sub total 300.00
I.V.A (taxes) 16% will be 48.00
So the Total is then 348.00I give you a attachment of 2 images also…
Can you help me to do this for a cup of coffe?
Thanks in advance
IcemanmxAttachments:
You must be logged in to view attached files.January 15, 2024 at 10:16 am #36408AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
Attachments:
You must be logged in to view attached files.January 15, 2024 at 6:17 pm #36410IcemanmxParticipantHello
This function just perfect, and thanks for your support and help…
One question, can this {date|format:Y} – {uniqid} be so you get a consecutive numbers? And if so, how to do it?You coffee you got… 😉
Best Regards
IcemanmxJanuary 15, 2024 at 8:03 pm #36411IcemanmxParticipantHi again…
The customer is pushing me to make a type of order number what have consecutive numbers like Year – 00001, 00002 and so on, i know we are only sending to the database and do not read nothing from it, if this can be done, please help me and i pay you what you need, i will send that to the customer what have to pay me…Please make it happen… 🙂
Best Regards
IcemanmxJanuary 16, 2024 at 9:04 am #36414AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 16, 2024 at 5:22 pm #36415IcemanmxParticipantHello
When i change the number on the AUTO_INCREMENT what is 83 today to 1 or 00001 it will not save it, when i click Go to make the changes it says Your SQL query has been executed successfully. But when go back again it still says 83.
I have this on hidden field today {date|format:Y} – {uniqid} and it generate this 2024 – 65a5675093d39, so why does it not generate for example 2024 – 83? It should just be ok to start from this number and just go up to 84, 85 and so on.In the answer you gave me with the link, the uniqid have a underline in it as this uniq_id but in the form it is uniqid?
So what can we do?
Best Regards
IcemanmxAttachments:
You must be logged in to view attached files.January 17, 2024 at 6:09 am #36417AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 17, 2024 at 4:30 pm #36421IcemanmxParticipantHello
Yes we can try that code snippet, i will not truncate the id key, we just run it from where it starts, they already use the application. One question, this number will also be saved to the data base? For i have my own data base in the wordpress database wp_ibodt_tbl_orden? They are also using the WP Data Access to see the data base and and can also export in excel, i will attache 1 image of that, i also attache 1 image for my notification mail there i point out where i have the FOLIO: 2024 – 65a7f5654a303, what we can make then 2024-84 and so on.Best Regards
IcemanmxAttachments:
You must be logged in to view attached files.January 18, 2024 at 9:51 am #36426AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 18, 2024 at 3:36 pm #36431IcemanmxParticipantHello
Where do i put this php snippet?
As a plugin?
Or should i replace this <?php echo $form->getValueHtml(‘quform_1_226’); ?> what is my hidden field in my notification e-mail template?
And should i leave my hidden field as it is today {date|format:Y} – {uniqid}?Best Regards
IcemanmxJanuary 19, 2024 at 9:03 am #36433AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 19, 2024 at 5:53 pm #36435IcemanmxParticipantHello
Thanks for your help and support again… Is nice to have you on my side.
Now all function perfect.
A warm cup of coffee is waiting for you.Best Regards
IcemanmxJanuary 22, 2024 at 10:31 am #36437AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.