⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
crm.dev-unit.com
/
storage
/
framework
/
views
/
View File Name :
8b00eecbc002477fc0794c210ab3a05d6e1f0a7a.php
<div class="col-lg-12"> <div class="row"> <div class="form-group col-sm-6"> <?php echo e(Form::label('project_name', __('messages.project.project_name').':')); ?><span class="required">*</span> <?php echo e(Form::text('project_name', isset($project->project_name) ? $project->project_name : null, ['class' => 'form-control', 'required','autocomplete' => 'off','placeholder'=>__('messages.project.project_name')])); ?> </div> <div class="form-group col-sm-6"> <?php echo e(Form::label('customer_id', __('messages.project.customer').':')); ?><span class="required">*</span> <?php echo e(Form::select('customer_id', $data['customers'], isset($project->customer_id) ? $project->customer_id : $customerId, ['class' => 'form-control', 'id' => 'customersSelectBox', 'autocomplete' => 'off', 'required', 'placeholder' => __('messages.placeholder.select_customer')])); ?> </div> <div class="form-group col-sm-6"> <?php echo e(Form::label('contacts', __('messages.contacts').':')); ?><span class="required">*</span> <?php echo e(Form::select('contacts[]', [], null, ['class' => 'form-control', 'id' => 'contactsSelectBox','required', 'multiple' => true])); ?> </div> <div class="form-group col-sm-6"> <?php echo e(Form::label('members', __('messages.members').':')); ?><span class="required">*</span> <?php echo e(Form::select('members[]', $data['members'], isset($project->members) ? $project->members->pluck('user_id') : null, ['class' => 'form-control', 'id' => 'membersSelectBox','required', 'autocomplete' => 'off', 'multiple' => 'multiple'])); ?> </div> <div class="form-group col-sm-6"> <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" name="calculate_progress_through_tasks" <?php echo e(isset($project->calculate_progress_through_tasks) ? $project->calculate_progress_through_tasks == 1 ? 'checked' : '' : ''); ?> id="calculateProgressThroughTasks"> <label class="custom-control-label" for="calculateProgressThroughTasks"><?php echo e(__('messages.project.calculate_progress_through_tasks')); ?></label> </div> </div> <div class="form-group col-sm-11"> <?php echo e(Form::label('progress', __('messages.project.progress').':')); ?> <?php echo e(Form::range('progress', isset($project->progress) ? $project->progress : 0, ['class' => 'form-control-range',' min' => '0', 'max' => '100', 'id' => 'projectProgress'])); ?> </div> <div class="form-group col-sm-1 d-flex align-items-center"> <span class="projectProgressPercentage mt-4" id="percentageId"><?php echo e(isset($project->progress) ? $project->progress : 0); ?>%</span> </div> <div class="form-group col-lg-6 col-sm-12"> <?php echo e(Form::label('billing_type', __('messages.project.billing_type').':')); ?><span class="required">*</span> <?php echo e(Form::select('billing_type', $data['billingTypes'], isset($project->billing_type) ? $project->billing_type : null, ['class' => 'form-control', 'id' => 'billingTypeSelectBox','required','placeholder'=> __('messages.placeholder.select_billing_type')])); ?> </div> <div class="form-group col-lg-6 col-sm-12"> <?php echo e(Form::label('status', __('messages.project.status').':')); ?><span class="required">*</span> <?php echo e(Form::select('status', $data['status'], isset($project->status) ? $project->status : null, ['class' => 'form-control', 'id' => 'statusSelectBox','required','placeholder' => __('messages.placeholder.select_status')])); ?> </div> <div class="form-group col-sm-6"> <?php echo e(Form::label('estimated_hours', __('messages.project.estimated_hours').':')); ?> <div class="input-group"> <div class="input-group-prepend"> <div class="input-group-text"> <i class="fas fa-clock"></i> </div> </div> <?php echo e(Form::text('estimated_hours', isset($project->estimated_hours) ? $project->estimated_hours : null, ['class' => 'form-control', 'id' => 'estimatedHours', 'autocomplete' => 'off','placeholder'=> __('messages.project.estimated_hours')])); ?> </div> </div> <div class="form-group col-sm-6"> <?php echo e(Form::label('start_date', __('messages.project.start_date').':')); ?><span class="required">*</span> <div class="input-group"> <div class="input-group-prepend"> <div class="input-group-text"> <i class="fas fa-calendar-alt"></i> </div> </div> <?php echo e(Form::text('start_date', isset($project->start_date) ? date('Y-m-d H:i:s', strtotime($project->start_date)) : null, ['class' => 'form-control', 'id' => 'startDate', 'autocomplete' => 'off', 'required','placeholder'=>__('messages.project.start_date')])); ?> </div> </div> <div class="form-group col-sm-6"> <?php echo e(Form::label('deadline', __('messages.project.deadline').':')); ?><span class="required">*</span> <div class="input-group"> <div class="input-group-prepend"> <div class="input-group-text"> <i class="fas fa-calendar-alt"></i> </div> </div> <?php echo e(Form::text('deadline', isset($project->deadline) ? date('Y-m-d H:i:s', strtotime($project->deadline)) : null, ['class' => 'form-control', 'id' => 'deadline', 'autocomplete' => 'off', 'required','placeholder'=>__('messages.project.deadline')])); ?> </div> </div> <div class="form-group col-sm-6"> <?php echo e(Form::label('tags', __('messages.tags').':')); ?> <div class="input-group"> <?php echo e(Form::select('tags[]', $data['tags'], isset($project->tags) ? $project->tags->pluck('id') : null, ['class' => 'form-control', 'id' => 'tagId', 'multiple' => 'multiple'])); ?> <div class="input-group-append plus-icon-height"> <div class="input-group-text"> <a href="#" data-toggle="modal" data-target="#addCommonTagModal"><i class="fa fa-plus"></i></a> </div> </div> </div> </div> <div class="form-group col-sm-12 mb-0"> <?php echo e(Form::label('description', __('messages.common.description').':')); ?> <?php echo e(Form::textarea('description', isset($project->description) ? $project->description : null, ['class' => 'form-control summernote-simple', 'id' => 'projectDescription'])); ?> </div> <div class="form-group col-12"> <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" <?php echo e(isset($project->send_email) ? $project->send_email == 1 ?'checked' : '' : ''); ?> name="send_email" id="sendEmail"> <label class="custom-control-label" for="sendEmail"><?php echo e(__('messages.project.send_project_created_email')); ?></label> </div> </div> <div class="col-sm-12"> <?php echo e(Form::button(__('messages.common.save'), ['type'=>'submit','class' => 'btn btn-primary', 'id' => 'btnSave','data-loading-text'=>"<span class='spinner-border spinner-border-sm'></span> Processing..."])); ?> <a href="<?php echo e(url()->previous()); ?>" class="btn btn-secondary text-dark"><?php echo e(__('messages.common.cancel')); ?></a> </div> </div> </div> <?php /**PATH /home/id/crm.dev-unit.com/resources/views/projects/fields.blade.php ENDPATH**/ ?>