Thank you Povilas, another great video! Wish you get silver KZitem button this summer!
@chadleighton6475
3 жыл бұрын
pro tip : you can watch series on Kaldrostream. Me and my gf have been using them for watching lots of of movies lately.
@ernestzavier2377
3 жыл бұрын
@Chad Leighton yea, I have been using Kaldrostream for since november myself :D
@hugoducommun8255
3 жыл бұрын
Thank You Povilas, I just needed this feature for my work !
@drac.96
3 жыл бұрын
Exactly what I needed! Thanks Mr. Pavilas.
@codegorilla0420
3 жыл бұрын
Thnx so much, I was stuck on this for a bit
@turbokev3772
3 жыл бұрын
Thanks for sharing. Many will find this helpful.
@belce1982
3 жыл бұрын
Thanks as always!
@AntonioCabralNumberOne
2 жыл бұрын
Thanks a million!
@MrValles10
3 жыл бұрын
Is there a way to do the withSum but with a calculation on two columns? For example if you have an order table and a product_lines table. The product_line table contains price and quantity. How would you calculate the total amount of the order if order total amount = sum of (product_line_price * product_line_quantity)?
@JacquesOscarNdjebayiMatike
Жыл бұрын
Saved me ! Thanks
@waqasmarri4230
3 жыл бұрын
Thanks for responding to email. Much appreciated
@ahsaniqbal6214
3 жыл бұрын
Very bad boy
@ahsaniqbal6214
3 жыл бұрын
What a day mashallah
@user-jt5vm3mi1w
Жыл бұрын
Thanks
@matthelosh
3 жыл бұрын
Thank you, really apreciate that.
@renwar
3 жыл бұрын
WithSum('products as totalItems', '.....') to change the name.
@dan23233
3 жыл бұрын
Awesome.
@vidhyaprakash85
3 жыл бұрын
Excellent.
@edreesabobker7616
3 жыл бұрын
Hi Mr. Pavilas, I have a question about the best way to store the product price which has more than size or may be one size, for example pizza or burgers
@lassestube
2 жыл бұрын
How would you calculate a sum of two columns multiplied? Like price and amount ( qty )
@noelkalel
2 жыл бұрын
hi povilas, was wondering, is it possible to get sum of quantity (order_product pivot table) * price (products table) for desired order_id (order_product pivot table)
@asatbekxalimjonov4005
3 жыл бұрын
Amazing
@mallesbixie
3 жыл бұрын
It's a shame we didn't get to see the resulting query that Eloquent produced for the counts. Great tip!
@ulaskorpe
3 жыл бұрын
hello , whats that monitor tool you use to view queries , db etc ? it isnt a default package as i see , i ve just installed newst version of laravel there s no such tool. thank you for those eloqent videos
@LaravelDaily
3 жыл бұрын
Laravel Debugbar
@pardiszaryab6651
3 жыл бұрын
Hello sir, Thank you very much for your great tutorials, I have a problem with displaying mysql column value in my page for example I have a profile table each user has different title such as ( Manager, Hr, Finance, teachers, and parents) I know how to count all table and know how many users are registered in my DB but I want to count each title in a separate line like ( total number of teachers, total number of parents or etc.) please help me how to do it. Thank you very much and appreciate your help in advance. V/r, Pardis
@prabinkhadka2317
3 жыл бұрын
will this work on laravel 7 ? withSum() ? I need total in datatable . For now i'm doing by foreach loop and was searching for efficient way
@katetometr
3 жыл бұрын
withSum works on laravel 7
@user-jt5vm3mi1w
Жыл бұрын
who cares upgrade
@mouradouddah5934
3 жыл бұрын
Goooood
@MrError-ml3lz
3 жыл бұрын
could you please explain how to make realtime apis using laravel and socket.io ?
@edigogidze8349
3 жыл бұрын
can you tell me best practices how to store price in database?
@alvinvin00
3 жыл бұрын
never store them in floating point (Double), i remember he shared an article that discussed this. To circumvent it, multiply it by 100 (e.g. $1.77 becomes 177 in DB as an Integer)
@edigogidze8349
3 жыл бұрын
@@alvinvin00 thank you for your answer ))
@seppdaniel
3 жыл бұрын
Never store money values as float. Prices should be stored as decimal values. Float is Approximate-number data type, which means that not all values in the data type range can be represented exactly. Decimal/Numeric is Fixed-Precision data type, which means that all the values in the data type reane can be represented exactly with precision and scale.
@g0disn0where
3 жыл бұрын
Who the hell ever dislike this?
@seppdaniel
3 жыл бұрын
This design is flawed by design. In a POS you would usually have Order->OrderRow that would have a relation to Product or anything else. This is because sometimes you need to discount a row of an Order, not a specific product.
@AlexGower
3 жыл бұрын
can you explain this more clearly with a schema?
@shahzadmahota7327
3 жыл бұрын
sir, can you provide access to your premium course to few of your subscribers with out any charges? what if someone really loves your content always looking something from you and he/she is not able to pay for premium course? Kindly consider few of us who want to learn from you but are not able to pay you right now
@L-A-O-S
3 жыл бұрын
Competitions with prizes, to the studio
@IlPandax
3 жыл бұрын
I've never used this code: "return view('website :: order.index');". Does it look for a "website" folder?
@nice.540
3 жыл бұрын
That "website::" part is a custom blade namespace. You can define namespace to point to any other folder you choose for blade to look for views. You need to register it manually tho.
Пікірлер: 45