Yes, it is doing exactly what it should be doing, you are creating a new form for each item inside sales, maybe try reading the doc?

|
software_engineer_n 2019-09-05 14:44:10
Is there other way to do please help
shubhamdhyani 2019-09-05 14:48:57
the world is ending
2019-09-05 14:59:26
software_engineer_n 2019-09-05 14:42:23
Hi guys can I do that

read and learn laravel there is no superglobal usage directly in laravel

software_engineer_n 2019-09-05 14:59:50
Ok
2019-09-05 15:15:15
PHP 7.4.0RC1 Released!
T_r_a_p_s_o_u_l 2019-09-05 15:27:26
What is the main difference between laravel and codeigniter
T_r_a_p_s_o_u_l 2019-09-05 15:28:02
and why should I use laravel instead of codeigniter
XCloud1216 2019-09-05 16:01:46
Anyone know how to make a dynamic dropdown list from database ?
leondesign 2019-09-05 16:08:50
software_engineer_n 2019-09-05 14:42:23
Hi guys can I do that

Read fucking docs, that os Next level spaghetti shit

zack6849 2019-09-05 16:09:04
lmao
shubhamdhyani 2019-09-05 16:12:05
laravel_discuss-12560.jpg

zack6849 2019-09-05 16:13:14
what is semantic versioning?
zack6849 2019-09-05 16:13:22
not very confusing if you know WHY they did it
zack6849 2019-09-05 16:13:24
0/10 meme
2019-09-05 18:51:46
XCloud1216 2019-09-05 16:01:46
Anyone know how to make a dynamic dropdown list from database ?

public function create()
{
$sales = Sale::pluck(‘stock_id’)->prepend(‘stock_id’);
return view(‘sales.create’)->with(‘sales’,$sales);
}

Add something like thatπŸ‘† to your controller
then this to your create.bladeπŸ‘‡

<div class=”form-group”>
{{Form::label(‘stock_id’, ‘Stock ID’)}}
{!!Form::select(‘stock_id’, $sales, null,[‘class’=> ‘form-control’])!!}
</div>

DesolatorMagno 2019-09-05 18:57:09
2019-09-05 09:52:19
<div class=”form-group”>
{{Form::label(‘stock_id’, ‘Stock ID’)}}
@foreach($sales as $sale)
{{ Form::select(‘stock_id’,$sale ,[‘class’=> ‘form-control’, ‘placeholder’ => ‘Stock ID’])}}
@endforeach
</div>

This is how my create.blade.php looks like

Yes, it is doing exactly what it should be doing, you are creating a new form for each item inside sales, maybe try reading the doc?

2019-09-05 18:58:35
Okay @DesolatorMagno
DesolatorMagno 2019-09-05 18:59:10
try just passing the $sales to the form.
2019-09-05 19:01:26
Okay lemme try
zack6849 2019-09-05 19:52:17
why would you want to do that tho
farshidrezaeii 2019-09-05 19:59:58
for what?
DesolatorMagno 2019-09-05 20:02:53
PDF or Reports in general i guess.
farshidrezaeii 2019-09-05 20:07:17
DesolatorMagno 2019-09-05 20:02:53
PDF or Reports in general i guess.

maybe

rebory 2019-09-05 22:25:35
https://www.larashout.com/using-joins-in-laravel-eloquent-queries

Using Joins in Laravel Eloquent Queries | LaraShoutLaraShout
Laravel applications which depend heavily on database interaction using Laravel Eloquent often create performance issues.
EdcbaoO 2019-09-06 13:43:24
Good day everyone!!
If the company uses the Emails of the host.. Each department has its own Email.. Is there a way that the Email of the manger receives others departments emails the sent and received ones?
EdcbaoO 2019-09-06 14:04:24
I asked in many different groups.. And no one has yet responded Is it even possible to do that ?
zack6849 2019-09-06 14:24:46
Your question is unclear
EdcbaoO 2019-09-06 14:28:11
Oh that’s why πŸ˜‚..
shubhamdhyani 2019-09-06 14:28:26
yup..i tried my best but gave up
EdcbaoO 2019-09-06 14:30:08
OK the manager wants to monitor the emails of all departments. So he wants all their emails to be reviewed and received in his email
EdcbaoO 2019-09-06 14:33:02
Still not Clear? 😣
Blast06 2019-09-06 16:21:45
Does someone here has built a pwa, what about the ads?
zack6849 2019-09-06 16:38:25
EdcbaoO 2019-09-06 14:30:08
OK the manager wants to monitor the emails of all departments. So he wants all their emails to be reviewed and received in his email

BCC him on all emails received

zack6849 2019-09-06 16:38:30
He won’t be able to see what’s sent
zack6849 2019-09-06 16:38:46
But this is not a problem for your app this is an issue they should be handling on the IT side
zack6849 2019-09-06 16:39:02
Eg: managers being given read and write access to their employees mailboxes
leondesign 2019-09-06 16:39:35
EdcbaoO 2019-09-06 14:30:08
OK the manager wants to monitor the emails of all departments. So he wants all their emails to be reviewed and received in his email

How is that even relates to laravel o even development

leondesign 2019-09-06 16:39:55
You should ask your mail provider
EdcbaoO 2019-09-06 16:43:25
OK.. Thank you all for your time
2019-09-06 17:06:45
How to write a query left join multiple with or condition.
hence or condition using columns.
Please anyone help me
leondesign 2019-09-06 17:08:37
2019-09-06 17:06:45
How to write a query left join multiple with or condition.
hence or condition using columns.
Please anyone help me

leftJoin( tablename, function($query))

2019-09-06 17:09:00
->join(‘mship_collection_periods’, function($join)
{$join->on(‘mship_collection_periods.id’, ‘=’, ‘mship_transaction_payments.collection_type_period_id’);
$join->or(‘mship_collection_periods.id’,’!=’,’mship_transaction_payments.collection_type_period_id’);
})
2019-09-06 17:09:55
This query correct or not?
leondesign 2019-09-06 17:13:36
I think its not
leondesign 2019-09-06 17:14:04
try it
2019-09-06 17:30:34
ok Thank you
Ravi Malagi 2019-09-06 17:59:30
Can anyone suggest.. how to create a basic website page in laravel.. I m new to this
Ravi Malagi 2019-09-06 18:04:29
Yup
Ravi Malagi 2019-09-06 18:04:41
Ya studying
Ravi Malagi 2019-09-06 18:05:08
Ok…
|