Support the ongoing development of Laravel.io →

James p

Joined 26 Jan 2021

Statistics

Threads 0
Replies 2
Solutions 1
Articles 0

j-jemoh has not posted any threads yet

replied 3 years ago

How can i show auto calculated field in a view?

I am assuming the prices and the discount is from the database right? In this case change this code...

0 Likes
replied 3 years ago

Creating a public function in base controller of Laravel

You forgot the end curly bracket }. Try this public function loadViewData() { $viewData = []; }

0 Likes
Solved

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.