Viewing file: edit.blade.php (1.66 KB) -rw-rw-r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
{{Form::model($transfer,array('route' => array('transfer.update', $transfer->id), 'method' => 'PUT')) }} <div class="modal-body"> <div class="row"> <div class="form-group col-lg-6 col-md-6 "> {{ Form::label('employee_id', __('Employee'),['class'=>'form-label'])}} {{ Form::select('employee_id', $employees,null, array('class' => 'form-control select2','required'=>'required')) }} </div> <div class="form-group col-lg-6 col-md-6"> {{Form::label('branch_id',__('Branch'),['class'=>'form-label'])}} {{Form::select('branch_id',$branches,null,array('class'=>'form-control select2'))}} </div> <div class="form-group col-lg-6 col-md-6"> {{Form::label('department_id',__('Department'),['class'=>'form-label'])}} {{Form::select('department_id',$departments,null,array('class'=>'form-control select2'))}} </div> <div class="form-group col-lg-6 col-md-6"> {{Form::label('transfer_date',__('Transfer Date'),['class'=>'form-label'])}} {{Form::text('transfer_date',null,array('class'=>'form-control datepicker'))}} </div> <div class="form-group col-lg-12"> {{Form::label('description',__('Description'),['class'=>'form-label'])}} {{Form::textarea('description',null,array('class'=>'form-control','placeholder'=>__('Enter Description')))}} </div> </div> </div>
<div class="modal-footer"> <input type="button" value="{{__('Cancel')}}" class="btn btn-light" data-bs-dismiss="modal"> <input type="submit" value="{{__('Update')}}" class="btn btn-primary"> </div>
{{Form::close()}}
|