Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Issues fixed #688

Merged
merged 2 commits into from
Nov 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
<div class="form-group" :class="[errors.has('{!! $formScope ?? '' !!}' + inputName + '[product_id]') ? 'has-error' : '']">
<label for="email" class="required">{{ __('admin::app.leads.item') }}</label>

<input
type="hidden"
:name="[inputName + '[name]']"
v-model="product['name']"
/>

<input
type="text"
:name="[inputName + '[product_id]']"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function update(array $data, $id, $pipeline = "id")
}

foreach ($previousStageIds as $stageId) {
$pipeline->leads()->where('lead_pipeline_stage_id', 16)->update([
$pipeline->leads()->where('lead_pipeline_stage_id', $stageId)->update([
'lead_pipeline_stage_id' => $pipeline->stages()->first()->id,
]);

Expand Down