Search found 121 matches

by Eddy
07 Feb 2024, 18:12
Forum: Discussion
Topic: Booking system
Replies: 3
Views: 3151

Re: Booking system

Hello everyone, I put together the attached simple booking system. I am more a tinkerer than a programmer, so please check and use accordingly... This, for me, is more for the benefit of the community than anything else, so comments and improvement suggestions are welcome.

Usr & pwd: Admin
by Eddy
04 Dec 2023, 19:26
Forum: Discussion
Topic: Booking system
Replies: 3
Views: 3151

Re: Booking system

Thank you very much for taking the time to answer. As mentioned, I just need to get me started so your basic approach suggestion is very welcome.

I will do my best to publish here my findings and road blocks for the benefit of the community.

Thanks again.
by Eddy
29 Nov 2023, 19:22
Forum: Discussion
Topic: Booking system
Replies: 3
Views: 3151

Booking system

Hello Ruko-Forum family, I was wondering if I could ask for some help/suggestions as I am not sure about how to get started with the below project in Rukovoditel. My company has a pool or inventory of devices (different models and quantities per model) that go out to customers on loan for a small pe...
by Eddy
29 Oct 2022, 22:56
Forum: Discussion
Topic: help with onSubmit javascrip for form validation
Replies: 6
Views: 501

Re: help with onSubmit javascrip for form validation

I think this works, need to do more tests but at the moment is doing what I need. // value of worked hours from ajax request form var workedHours = $('#fields_512').val(); // number of rows of the nested form field table var numberOfRows = parseInt($('#fields_570').val()); // gets table of nested it...
by Eddy
29 Oct 2022, 13:58
Forum: Discussion
Topic: help with onSubmit javascrip for form validation
Replies: 6
Views: 501

Re: help with onSubmit javascrip for form validation

You are right, I didn't realised it until now that you mentioned it. The child record is only added to the db together with the parent when the form is sent. Therefore, the information doesn't "exists" until the main form is saved. Thinking it over there two options here, within my limited...
by Eddy
29 Oct 2022, 00:29
Forum: Discussion
Topic: help with onSubmit javascrip for form validation
Replies: 6
Views: 501

Re: help with onSubmit javascrip for form validation

Thanks Sergey, I implemented the Ajax Request (Allocated Hours) field, the code reading entity_54 and summing up the values is: Screenshot 2022-10-28 203723.png As you can see in the example, the allocated hours (sum of the time worked on each project) is correct when the form is opened for the firs...
by Eddy
28 Oct 2022, 00:26
Forum: Discussion
Topic: help with onSubmit javascrip for form validation
Replies: 6
Views: 501

Re: help with onSubmit javascrip for form validation

Update,

After a walk and a cold beer, noticed two typos: it is not field_512... but ... #fields_512 what needs to used, so problem one sorted. Now number two: how to get the sum of hours information parsed across.
by Eddy
27 Oct 2022, 18:29
Forum: Discussion
Topic: help with onSubmit javascrip for form validation
Replies: 6
Views: 501

help with onSubmit javascrip for form validation

Hi all, First, sorry for the long e-mail. I am juts hoping to give as much details as possible. Moreover, I am not trying to develop a ground braking solution, so if it works I wouldn't mind sharing the database schema with the community, as it may help others with similar needs. I am trying to impl...
by Eddy
27 Oct 2022, 14:35
Forum: Discussion
Topic: Help with Nested Entity Form
Replies: 2
Views: 248

Re: Help with Nested Entity Form

Hi Sergey, Sorry for not getting back sooner. Thank for your answer and yes by setting the Fields display option to In a new window works, Ajax Request fields gets calculated when added to the Fields in listing . I still have another challenge with my application but to keep it organised I will add ...
by Eddy
22 Oct 2022, 15:14
Forum: Discussion
Topic: Help with Nested Entity Form
Replies: 2
Views: 248

Help with Nested Entity Form

Hi all, I'm using a Nested Entity Form field so when a parent record is added, records for its nested entity will also be added at the same time. The nested entity has several fields, including an Ajax Request field that I use to store the result value of a calculation that it is based on user input...