Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - grou

1
Questions / How can i RESET a form
I messed up a form in PHPRAD CLASSIC and now it is presenting errors and abnormal behaviors.

How can i, in CLASSIC version, RESET the table form to its original state without making a new project?
I would like to undo all changes made in a particular table (form) and go back to the initial code generated by PHPRAD CLASSIC.

In PHPRAD VUE this can be done.

Regards.
3
Questions / Re: Master - Details Data Entry on Same Page
Hi everybody...

Please, does anyone can provide a real example of master detail screen with customers orders and items.

In this example would be great if we have the ability to:

1 - Search for customer to whom the order will be generated. Must be able to search the customer by any info on his record.
2 - Order and its items on the same form if possible.
3 - Add, edit or delete items of the order on grid or modal form.
4 - Any change made to the items must be reflected automatically to the order fields (total of discount, freight cost, order amount)
5 - Search for a product by any info on its record to be added in the items grid. When product id added, the unit price must be filled with the product´s price and qty x unit price calculated.
6 - Print order when saved to a pdf.

Is this possible in PHPRAD Classic?... a lot of people ask for a master detail example and the link provided by Emman (https://phprad.com/tutorials/phprad-master-detail-pages.pdf) is not what we are looking for. The provided link does not work in a real world applications.

Hope someone can help.

Thanks
4
Questions / Re: Master - Details Data Entry on Same Page
I am trying to do something like that... no way until now... what i achieved is buggy and useless...

Hope someone can make a decent master-detail (orders-items) in PHPRAD Classic at least.

We asked a lot about such example with no success until now. I Think it cannot be done yet.
6
Bugs / Re: Classic 2.6.4 eval - Error when insert none required field
Hi Emman...

Thanks for the video.
As i saw, you are using xampp. I removed Laragon from my pc and installed XAMPP instead.
Now it is working.
Laragon has more features than XAMPP and it's widely used. (https://www.slant.co/topics/5299/versus/~laragon_vs_xampp_vs_mamp).

In XAMPP it works... but the none required fields are not saved as NULL they are filled with "0". Usually the none required fields must be NULL.

Could you please make the test using LARAGON and figure out if you get the same scenario?
if yes, could you please fix it to work with Laragon?

For now, i will be using XAMPP to avoid this issue.

Thanks again.

8
Bugs / Re: Classic 2.6.4 eval - Error when insert none required field
i've been waiting patiently for the next release 2.6.8.

Four versions 2.6.5..... 2.6.8 yet  launched and until now the bug still there... Oh... come on...
how can you put a default value on a field like date of payment, payment amount, etc...
it's unbelievable that no one is using "required:false" on any project till today.

I give up...
11
General Discussion / Re: how to write automatically to textbox
Great video Willvin, thanks a lot...

I will give it a try.

We need more example like this of how to work deep in PHPRAD. it is critically important to build sophisticated apps.

Hope the support can provide few examples of inventory system, erp, crm, real estate, etc...

Regards.
13
Questions / Re: How to add a master/detail form
Hi everybody...

Please, does anyone can provide a real example of master detail screen with customers orders and items.

In this example would be great if we have the ability to:

1 - Search for customer to whom the order will be generated. Must be able to search the customer by any info on his record.
2 - Order and its items on the same form if possible.
3 - Add, edit or delete items of the order on grid or modal form.
4 - Any change made to the items must be reflected automatically to the order fields (total of discount, freight cost, order amount)
5 - Search for a product by any info on its record to be added in the items grid. When product id added, the unit price must be filled with the product´s price and qty x unit price calculated.
6 - Print order when saved to a pdf.

Is this possible in PHPRAD Classic?... a lot of people ask for a master detail example and the link provided by Emman (https://phprad.com/tutorials/phprad-master-detail-pages.pdf) is not what we are looking for. The provided link does not work in a real world applications.

Hope someone can help.

Thanks
14
Bugs / Re: Classic 2.6.4 eval - Error when insert none required field
I made a brandnew and very simple project with one table named customers.
In this table we have id (primary key), name (required), birthdate (not required), age (not required), created_at (not required).

i am uploading the project with the database .sql again.
please if anyone else can test it and confirm the error 500 in PHPRAD CLASSIC version.
In PHPRAD VUE editon there is no errors.

First test: Use add form and just inform the name, leave all other fields empty.  I got error 500 on birthdate
Second test: Use add form again and inform name and birthdate. Leave age empty and try to save. Error 500 on age field.

Thanks
15
Bugs / Re: Classic 2.6.4 eval - Error when insert none required field
I removed laragon and installed new version with new installation and new database.

In the table, all field expect "id" (Primary key) have default as NULL.

In the form on PHPRAD (Add form) only "id" is required... All others fields are "not required".

I made several new projects.. in both PHPRAD Vue and PHPRAD Classic.

In PHPRAD VUE, everything worked fine... no errors.
In PHPRAD Classic 2.6.5 i got errors when date or datetime or int fields left Blank with no data. Varchar field are saved blank without error. PLEASE TEST WITH BLANK DATETIME AND INT (no data) and try to save the record.

I tried in a new pc and got same error with classic version.

Please take a look on the attached screenshot.

In PHPRAD Vue everything is fine.

Please help.