Commit bf22482b by Azhan Hannan

add new project -> boleh add start date and end date.

parent 6c91a971
......@@ -41,6 +41,18 @@
</div>
</div>
<div class="two fields">
<div class="eight wide field">
<label>Start Date</label>
<input type="date" name="startdate">
</div>
<div class="eight wide field">
<label>End Date</label>
<input type="date" name="enddate">
</div>
</div>
<input type="hidden" name="status" value="1">
<!-- <div class="field">
<label>Project Status</label>
......
......@@ -190,6 +190,8 @@ class MaintenanceController extends Controller
$project->p_project_director = $request->projectdirector;
$project->p_project_sts = $request->status;
$project->updated_by = $userId;
$project->start_date = $request->startdate;
$project->end_date = $request->enddate;
$project->save();
$project = Project::where('p_project_code', $request->projectcode)
......
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