Commit a481b593 authored by Lucas Nunes's avatar Lucas Nunes

fix

parent d6112f92
......@@ -268,7 +268,7 @@
<workItem from="1567743881913" duration="190000" />
<workItem from="1567832429427" duration="62000" />
<workItem from="1579682757164" duration="8495000" />
<workItem from="1579740326050" duration="39141000" />
<workItem from="1579740326050" duration="40050000" />
</task>
<task id="LOCAL-00001" summary="fix">
<created>1579690799404</created>
......@@ -361,7 +361,21 @@
<option name="project" value="LOCAL" />
<updated>1580097173649</updated>
</task>
<option name="localTasksCounter" value="14" />
<task id="LOCAL-00014" summary="fix">
<created>1580098019925</created>
<option name="number" value="00014" />
<option name="presentableId" value="LOCAL-00014" />
<option name="project" value="LOCAL" />
<updated>1580098019925</updated>
</task>
<task id="LOCAL-00015" summary="fix">
<created>1580098124534</created>
<option name="number" value="00015" />
<option name="presentableId" value="LOCAL-00015" />
<option name="project" value="LOCAL" />
<updated>1580098124534</updated>
</task>
<option name="localTasksCounter" value="16" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
......@@ -372,10 +386,10 @@
<option name="LAST_COMMIT_MESSAGE" value="fix" />
</component>
<component name="WindowStateProjectService">
<state x="1975" y="104" key="CommitChangelistDialog2" timestamp="1580098019099">
<state x="1975" y="104" key="CommitChangelistDialog2" timestamp="1580098123565">
<screen x="1366" y="0" width="1920" height="1080" />
</state>
<state x="1975" y="104" key="CommitChangelistDialog2/1366.0.1920.1080/0.0.1366.768@1366.0.1920.1080" timestamp="1580098019099" />
<state x="1975" y="104" key="CommitChangelistDialog2/1366.0.1920.1080/0.0.1366.768@1366.0.1920.1080" timestamp="1580098123565" />
<state x="2150" y="433" key="NewPhpFileDialog" timestamp="1580087547127">
<screen x="1366" y="0" width="1920" height="1080" />
</state>
......@@ -384,10 +398,10 @@
<screen x="1366" y="0" width="1920" height="1080" />
</state>
<state x="2148" y="220" key="RollbackChangesDialog/1366.0.1920.1080/0.0.1366.768@1366.0.1920.1080" timestamp="1580073294419" />
<state x="1925" y="243" key="Vcs.Push.Dialog.v2" timestamp="1580098022457">
<state x="1925" y="243" key="Vcs.Push.Dialog.v2" timestamp="1580098129995">
<screen x="1366" y="0" width="1920" height="1080" />
</state>
<state x="1925" y="243" key="Vcs.Push.Dialog.v2/1366.0.1920.1080/0.0.1366.768@1366.0.1920.1080" timestamp="1580098022457" />
<state x="1925" y="243" key="Vcs.Push.Dialog.v2/1366.0.1920.1080/0.0.1366.768@1366.0.1920.1080" timestamp="1580098129995" />
<state x="2102" y="244" key="VcsDiffUtil.ChangesDialog" timestamp="1579686223702">
<screen x="1366" y="0" width="1920" height="1080" />
</state>
......
......@@ -299,8 +299,9 @@ class CoursesController extends Controller
$course = Course::findOrFail($id);
$paymentFrequencys = Course::getPaymentFrequencies();
return view('backend.courses.edit', compact('course', 'teachers', 'categories'));
return view('backend.courses.edit', compact('course', 'teachers', 'categories', 'paymentFrequencys'));
}
/**
......
......@@ -59,9 +59,13 @@
</div>
</div>
<div class="row">
<div class="col-12 col-lg-4 form-group">
<div class="col-12 col-lg-2 form-group">
{!! Form::label('price', trans('labels.backend.courses.fields.price').' (in '.$appCurrency["symbol"].')', ['class' => 'control-label']) !!}
{!! Form::number('price', old('price'), ['class' => 'form-control', 'placeholder' => trans('labels.backend.courses.fields.price') ,'pattern' => "[0-9]"]) !!}
{!! Form::number('price', old('price'), ['class' => 'form-control', 'required', 'placeholder' => trans('labels.backend.courses.fields.price') ,'pattern' => "[0-9]"]) !!}
</div>
<div class="col-12 col-lg-2 form-group">
{!! Form::label('payment_frequency','Frequência de pgtos', ['class' => 'control-label']) !!}
{!! Form::select('payment_frequency', $paymentFrequencys, old('payment_frequency'), ['class' => 'form-control select2 js-example-placeholder-single']) !!}
</div>
<div class="col-12 col-lg-4 form-group">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment