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.
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.
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.
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.
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.
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.