PHPRad Tutorial 1: Creating an invoice project with PhpRad

  Рет қаралды 33,166

willvin

willvin

Күн бұрын

Пікірлер: 61
@gencylegaspi4147
@gencylegaspi4147 4 жыл бұрын
Nice tutorial. Detailed and concise. Thanks
@joshuajegede8253
@joshuajegede8253 3 жыл бұрын
Thanks for this tutorial. It was quite helpful in getting started with phpRAD. However, the tutorial can better enhance if voice explanations can be added for easy comprehension. Keep up the good work.
@danielenapoli7845
@danielenapoli7845 7 ай бұрын
Esistono dei corsi oltre a questi tutorial ?
@willvin
@willvin 7 ай бұрын
Ci sono altri tutorial sulla mia pagina patreon patreon.com/willvinofficial e sul mio blog blog.willvin.com. Alcuni di essi sono gratuiti mentre altri richiedono un abbonamento.
@akmalwinandi3312
@akmalwinandi3312 8 ай бұрын
Can you help me, how to make an autofill? I have 2 table member and transaction, i want when i input the member id the name will automaticly fill.
@willvin
@willvin 8 ай бұрын
Only Radsystems Studio has the auto fill feature. You will have to write your code manually, by creating an api and then calling that api using JS to get the data.
@orhancanoguz4423
@orhancanoguz4423 Жыл бұрын
it may works on your localhost, how can you upload to `shared server` ? what is minimum req for this project?
@willvin
@willvin Жыл бұрын
The same requirements (PHP version) you use for your localhost should work on your live host..
@budysantoso7702
@budysantoso7702 2 жыл бұрын
How to create automatically logout inactive user in PHPRad? Please help... thanks
@willvin
@willvin 2 жыл бұрын
Disable the Remember me configuration in Authentication and when the a user logs in and his or her seesion expires the user is logged out automatically. Setting remember me give the user the option of extending his or her session.
@budysantoso7702
@budysantoso7702 2 жыл бұрын
Thanks@@willvin ... But can it be set by time? For example, if it is idle for 15 minutes, it will automatically logout.
@willvin
@willvin 2 жыл бұрын
For that you will need to write a Javascript function that call an api link to log the user out.
@budysantoso7702
@budysantoso7702 2 жыл бұрын
How? Can you make a video tutorial for that? Because it's complicated for me.
@TechVersion1
@TechVersion1 2 жыл бұрын
hello sir please help got error say Fatal error: Cannot redeclare str_contains() in C:\xampp\htdocs\invoiceapp\helpers\Functions.php on line 524
@willvin
@willvin 2 жыл бұрын
You need to downgrade your php version to php 7. php 7.2 or 7.4 should be okay. Or you can delete the indicated function from the file, if you still want to use php 8 and above.
@TechVersion1
@TechVersion1 2 жыл бұрын
@@willvin thanks bro. But got solution. Andstead of xamp we can use wamp server
@sadarahurh8794
@sadarahurh8794 4 жыл бұрын
nice but,.... I would like to see INVOICE on the screen more the way the real invoice looks like (another word WYSIWYG type). I would like to have a 3 sections on the screen (Invoice Header, Invoice Items, Invoice footer). That is typical. Then be able to edit each of those sections on the same screen without pop-up or modal windows. When the Invoice is created and saved then the final Invoice View should be available (which is what you did nicely). Editing Invoice data is still very awkward and inconvenient. Unless this type of functionality is implemented this is still a deal breaker for me (as I have this created in my project done with some other tools). In my project I can pretty much edit each of 3 sections of the Invoice on the same screen and the only place where I need possibly pop-up windows (modal) is when I need to select a customer, item, payment type etc...). Once you have this functionality I'm IN. I hope soon your product will be a killer tool for many other products on the market. God luck.
@deriliminator
@deriliminator 3 жыл бұрын
Could you post your code ?
@willvin
@willvin 3 жыл бұрын
Check the video description for the link to where you can download the project.
@suweydcreativestudio458
@suweydcreativestudio458 3 жыл бұрын
@willvin is it possible to print into thermal 80mm and how?
@willvin
@willvin 3 жыл бұрын
Yes it is possible you just have to make sure your thermal 80mm drivers are installed and you can print from you pc. When you are print you invoice and you see the browser print panel, select the thermal pinter from the list of printers. And also not you will have to adjust your invoice content to be able to print it nicely on the printer.
@suweydcreativestudio458
@suweydcreativestudio458 3 жыл бұрын
@@willvin thanks Can we have a little tutorial especially on layout because mine doesn't show the full report ? Thanks again
@IvoMaioli
@IvoMaioli 2 жыл бұрын
Congratulations Willvin! My name is IVO MAIOLI. I would like to get an instruction from you on how to calculate AGE in PHPRAD. The Form has a field with the date of birth... How can I make PHPRAD calculate the AGE (in years) and show it in another field? In this case is it better to use the code in PHP or in JAVASCRIPT? I'm BRAZILIAN and I watch all your videos! Thanks for your help !!!
@willvin
@willvin 2 жыл бұрын
if you just want to display the age on the same field, then set the field to custom in view page and replace👉 with this👇 ============================================================ But if you want it in a different field without actually having the data stored in the database by following this video kzbin.info/www/bejne/jqvCmZ5tYruKja8, do the following: On the field expression, add this 👇 TIMESTAMPDIFF(YEAR, date_of_birth, CURDATE()) on Field Name Alias add this 👇 dob on Display Label add this 👇 Date of Birth ============================================================ But if you want to have it calculated and stored whenever the date of birth is added or updated, you will have to add the following to the Page Event, Action Before Add and Action Before Update👇 $dob = new DateTime($modeldata['date_of_birth']); //"2006-01-28" $cur_date = new DateTime(); $modeldata['age'] = $cur_date->diff($dob)->y; ============================================================ Please note that you have to replace "date_of_birth" and "age" with the appropriate field names in all the codes, where necessary.
@sadarahurh8794
@sadarahurh8794 4 жыл бұрын
is it possible to add images dynamically ?
@willvin
@willvin 4 жыл бұрын
Yes, it is.
@gabrielakoh96
@gabrielakoh96 4 жыл бұрын
That's a nice one. I still couldn't get the Invoice Controller created after I downloaded so the invoice cannot be listed. Also is it possible to place labels and fields as desired on the Pages, as it is in PhpRunner and so on without coding? For instance, if I want email address besides name in the users add Page
@willvin
@willvin 4 жыл бұрын
yes, it is possible.
@totranquilohost9646
@totranquilohost9646 3 жыл бұрын
Would you like to create a tutorial for a member site with stripe charges? with affiliate system Ex: after the user signs up to have access to downloads from the site, he has to pay an association fee, and to encourage him he can still earn points or a percentage of the plan when referring an associate. I follow your channel, I like phprad a lot, but it stopped updating a long time ago. Even so, I am still rooting for the growth of the project.
@atharvkanetkar6420
@atharvkanetkar6420 3 жыл бұрын
Hi, How have you added multiple items to one invoice? I want to develop similarly but did not understand.
@willvin
@willvin 3 жыл бұрын
I used master details relationship, check timestamp 21:27 that is when I started configuring it. Please visit the link in the description to download the project file so that you can explore it, thanks.
@atharvkanetkar6420
@atharvkanetkar6420 3 жыл бұрын
@@willvin I have seen the master-detail part & implemented it. But How to display/add multiple items in invoice form?
@willvin
@willvin 3 жыл бұрын
To display, edit the page as custom and add the html code and php code as indicated in the video.
@peterhaider377
@peterhaider377 4 жыл бұрын
Very nice tutotrial. PHPRAD seems to be a hot nish player. I would like to register at the PHPRAD-Forum, but it seems to be impossible at the moment, could you help me?
@willvin
@willvin 4 жыл бұрын
Ok
@willvin
@willvin 4 жыл бұрын
What seems to be the issue when registering?
@peterhaider377
@peterhaider377 4 жыл бұрын
@@willvin, checked it again, now it works fine ;-)
@tranxuanthinh4285
@tranxuanthinh4285 4 жыл бұрын
Nice Guide, how can print multi-invoice at the same time?
@willvin
@willvin 4 жыл бұрын
You need to display the multiple invoice on the same page to print them.
@tranxuanthinh4285
@tranxuanthinh4285 4 жыл бұрын
@@willvin Thanks, It is not difficul to display all on page right? But how to break page for each invoice event short or long invoice is my consideration. Any suggest will be appreciated
@maxhenriquez8819
@maxhenriquez8819 4 жыл бұрын
hi, how to "Add the content of "Invoice Controller Content.txt" to your list page as indicated in the video"
@willvin
@willvin 4 жыл бұрын
Please make sure to include the invoiceController to the list of generated pages before publishing. Check the readme.txt file for instructions and also follow the video.
@genrmx
@genrmx 4 жыл бұрын
nice tutorial! could you create one for a classroom management system (or better a student information system) with subjects that are assigned to a classroom and the childrens in the classroom need to get a rating (smiley? star) to that subject. i'm a 100% stuck with a system for it... :s
@dzchannel8151
@dzchannel8151 3 жыл бұрын
thank's Brother you are Great
@micky-psgameplay7941
@micky-psgameplay7941 4 жыл бұрын
Hi Willvin, Could you please create a project on Employee Leave Management System?
@user-vh9bq1qy1k
@user-vh9bq1qy1k 2 жыл бұрын
How to achieve this in phprad? Typing..... Field 1 value = A, Fiels 2 Value = 12, Field 3 Value = XYZ, Get...... Show result = A12XYZ Using click event or anything else.
@willvin
@willvin 2 жыл бұрын
Do something similar to this code below in your click or on input event. $("ctrl-field4").val($("ctrl-field1").val()+$("ctrl-field2").val()+$("ctrl-field3").val());
@user-vh9bq1qy1k
@user-vh9bq1qy1k 2 жыл бұрын
@@willvin don't know why but it was not working.
@user-vh9bq1qy1k
@user-vh9bq1qy1k 2 жыл бұрын
@@willvin i have total 4 field which is 1. level_no 2. shop_no 3. shop_category 4. shop_id. Here from field 1 to 3 (level_no to shop_category) what ever i write or input it will Marge on filed 4 (shop_id). Example: 1. F1 (level_no) = 4 2. F2 (shop_no) = 12 3. F3 (shop_category) = B 4. F4 (shop_id) = 412B - - - - This is how it will look.
@willvin
@willvin 2 жыл бұрын
Add the below code to custom Js and it should work. $('#ctrl-level_no,#ctrl-shop_no,#ctrl-shop_category').on('change', function(){ $("#ctrl-shop_id").val($("#ctrl-level_no").val()+$("#ctrl-shop_no").val()+$("#ctrl-shop_category").val()); });
@user-vh9bq1qy1k
@user-vh9bq1qy1k 2 жыл бұрын
@@willvin Bro, i tried but failed to make it work. Can you show us how to do it with in a video tutorial? Anyway thank you bro. For your support and time.
@jhonedwardvasquez
@jhonedwardvasquez 4 жыл бұрын
cordial saludo. felicidades por el vídeo, muy bueno. por favor me puede ayudar, con hacer un vídeo, como hacer un ecommerce y un c.m.s. agradecido por su valiosa gestión
@diseo2
@diseo2 4 жыл бұрын
Please more tutorials
@willvin
@willvin 4 жыл бұрын
Please I will, I am waiting for the new phprad update to be released. At the mean time you can subscribe to my channel and turn on notification, to get notified when I post new videos.
@iisdw5033
@iisdw5033 4 жыл бұрын
Thanks
@syakiralbugis9114
@syakiralbugis9114 2 жыл бұрын
Sebenarnya materi nya bagus. Cuma sayang tanpa penjelasan maka penonton yg baru belajar tdk tau apa yg lagi di tunjukin
@willvin
@willvin 2 жыл бұрын
Maaf tentang itu, tetapi video itu dibuat beberapa waktu lalu ketika saya memiliki lebih sedikit sumber daya untuk membuatnya. Tapi saya berharap untuk mengulangnya dengan sulih suara di masa depan.
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 285 МЛН
Yay, My Dad Is a Vending Machine! 🛍️😆 #funny #prank #comedy
00:17
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 21 МЛН
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 9 МЛН
You Won’t Believe What Excel’s Copilot Can Do! (new updates)
10:37
One CPU To Rule Them All - Ryzen 7 9800X3D Review
12:47
Linus Tech Tips
Рет қаралды 1 МЛН
A 12-year-old app developer | Thomas Suarez | TED
4:41
TED
Рет қаралды 11 МЛН
How to Vim in 2023: Tips and Tricks
15:53
ThePrimeagen
Рет қаралды 432 М.
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Рет қаралды 10 МЛН
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 285 МЛН