Laravel 9 Tutorial
Автор: Stack Developers
Загружено: 2023-02-11
Просмотров: 1131
Описание:
►Laravel 9 Tutorial from the beginning:- • Laravel Multi Vendor Tutorial
In Part-152 of the Laravel 9 Tutorial to create a Multi-Vendor E-commerce Website in Laravel 9, we will start working on order invoice that is required at the time of the shipment of the order. Order Invoice can be generated from the admin panel for every order in standard HTML and PDF Format. We will start working on HTML Invoice in this video.
1) Update orders.blade.php file :-
First of all, we will update orders.blade.php file to give link icon for printing order invoice in case of shipped orders.
2) Create Route :- Create GET route for generating order invoice with parameter order id in web.php file like below :-
// Order Invoices
Route::get('view-order-invoice/{id}','OrderController@viewOrderInvoice');
3) Create viewOrderInvoice function :-
Create viewOrderInvoice function at OrdersController in which we are going to get complete order and user details and return to order_invoice blade file that we will create in next step.
3) Create order_invoice.blade.php file :-
Now we will create order_invoice.blade.php file under /resources/views/admin/orders/ folder in which we will create order invoice html that we will search and download from internet.
4) Download "Order Invoice HTML Template"
We will search in Google for keyword "order invoice html template" and copy order invoice from below link to order_invoice.blade.php file :-
https://bootsnipp.com/snippets/9gjD
5) Update order_invoice.blade.php file :-
We are returning order details and user details from viewOrderInvoice function to order_invoice.blade.php file in the same way like we have did in order_details.blade.php file.
We will first make user billing and shipping addresses dynamic and then will show ordered products in foreach loop as shown in video.
We will also calculate order sub total and will show it along with coupon code, coupon discount, shipping charges and grand total.
Now order invoice is ready and you can take printout to test it.
Thanks for watching :)
►Laravel 9 Tutorial Playlist (Create Multi-Vendor E-commerce Website) - • Laravel Multi Vendor Tutorial
►Click here to subscribe for Laravel & other updates - / stackdevelopers
Popular Stack Developers Series that can help you:-
►React JS Tutorial for Beginners with Laravel 9 - • React JS Tutorial with Laravel for Beginners
►Laravel Tutorial for Beginners - • Laravel Tutorial for Beginners | Advance E...
►GIT Tutorial for Beginners - • Git Tutorial for Beginners | Create your F...
►Laravel API Tutorial - • Laravel API Tutorial | Create API from Scr...
►Laravel Interview Questions - • Laravel Interview Questions & Answers | 20...
►jQuery Tutorial - • jQuery Tutorial
►Laravel Basic E-commerce Series - • Make Admin Panel / E-commerce Website in L...
►Laravel Dating Series - • Make Dating / Social Networking Website in...
►Join this channel to get the complete source code of all series:
/ @stackdevelopers
Follow Stack Developers on Social Media to get updates and resolve your queries
►Like Facebook Page to get updates - / stackdevelopers2
►Join Facebook Group to resolve your queries - / stackdevelopers
►Follow on Instagram - / stackdevelopers2
►Follow on GitHub - https://github.com/stackdevelopers
#laravel9 #laravel9tutorial #laravel
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: