@extends('layouts.admin') @section('title') {{$project->title}} @endsection @push('theme-script') @endpush @php $logo_path = \App\Models\Utility::get_file('/'); $result = json_decode($project->copylinksetting); $password = base64_decode($project->password); @endphp @section('action-button') @endsection @section('content')
{{--Right Side Menu--}}
{{__('Basic Setting')}}

{{__('Likes name, description and dates.')}}

{{__('Additional Setting')}}

{{__('Likes budget, hours and currency.')}}

{{__('Task Stage')}}

{{__('System will consider last stage as a completed / done task for get progress on project.')}}

{{__('Email Notification Settings')}}

{{__('Change Email Notification.')}}

{{__('Shared Project Settings')}}

{{__('Shared Project Settings.')}}

{{--Main Part--}}
{{__('Basic Setting')}}
@if(Utility::plancheck()['enable_chatgpt'] == 'on') @endif {{ Form::model($project, ['route' => ['projects.update', $project->id], 'id' => 'edit_project', 'method' => 'PUT', 'enctype'=>'multipart/form-data']) }}
{{ Form::label('title', __('Project name'),['class' => 'form-control-label']) }} {{ Form::text('title', null, ['class' => 'form-control','required'=>'required']) }}
{{ Form::label('start_date', __('Start date'),['class' => 'form-control-label']) }} {{ Form::date('start_date', null, ['class' => 'form-control']) }}
{{ Form::label('end_date', __('End date'),['class' => 'form-control-label']) }} {{ Form::date('end_date', null, ['class' => 'form-control']) }}
{{ Form::label('descriptions', __('Description'),['class' => 'form-control-label']) }} {{__('This textarea will autosize while you type')}} {{ Form::textarea('descriptions', null, ['class' => 'form-control','rows' => '3','data-toggle' => 'autosize']) }}
{{ Form::label('status', __('Status'),['class' => 'form-control-label']) }}
{{ Form::label('image', __('Project Image'),['class' => 'form-control-label']) }}
@if($project->image) {{ $project->title }} @else img_image}} class="rounded-circle p-4 fix_size_show_img "/> @endif {{ Form::hidden('from','basic') }}
{{ Form::button(__('Save'), ['type' => 'submit','class' => 'btn btn-sm btn-primary rounded-pill']) }}
{{ Form::close() }}
{{__('Project Progress Calculation')}}
{{ Form::model($project, ['route' => ['projects.update', $project->id], 'id' => 'edit_project', 'method' => 'PUT', 'enctype'=>'multipart/form-data']) }}
project_progress == 'false') ? 'checked' : '' }}>
project_progress == 'true') ? 'checked' : '' }}>
project_progress == 'false') disabled @endif> {{ Form::hidden('from','project_progress') }}
{{ Form::button(__('Save'), ['type' => 'submit','class' => 'btn btn-sm btn-primary rounded-pill']) }}
{{ Form::close() }}
{{__('Task Progress Calculation')}}
{{ Form::model($project, ['route' => ['projects.update', $project->id], 'id' => 'edit_project', 'method' => 'PUT', 'enctype'=>'multipart/form-data']) }}
task_progress == 'true') ? 'checked' : '' }}>
task_progress == 'false') ? 'checked' : '' }}>
{{ Form::button(__('Save'), ['type' => 'submit','class' => 'btn btn-sm btn-primary rounded-pill']) }}
{{ Form::hidden('from','task_progress_bar') }} {{ Form::close() }}
{{__('Danger zone')}}
{!! Form::open(['method' => 'DELETE', 'route' => ['projects.destroy',$project->id],'id'=>'delete-project-'.$project->id]) !!} {!! Form::close() !!}
{{__('Additional Setting')}}
{{ Form::model($project, ['route' => ['projects.update', $project->id], 'id' => 'edit_project', 'method' => 'PUT', 'enctype'=>'multipart/form-data']) }}
{{ Form::label('budget', __('Budget'),['class' => 'form-control-label']) }} {{ Form::number('budget', null, ['class' => 'form-control','required' => 'required','step' =>'0.01']) }}
{{ Form::label('currency', __('Currency Symbol'),['class' => 'form-control-label']) }} {{ Form::text('currency', null, ['class' => 'form-control','required' => 'required']) }}
{{ Form::label('currency_code', __('Currency Code'),['class' => 'form-control-label']) }} {{ Form::text('currency_code', null, ['class' => 'form-control','required' => 'required']) }} {{__('Note : Add currency code as per three-letter ISO code.')}} {{__('you can find out here..')}}

{{ Form::label('estimated_hrs', __('Estimated Hours'),['class' => 'form-control-label']) }} {{ Form::number('estimated_hrs', null, ['class' => 'form-control','required' => 'required','min'=>'0','maxlength' => '8']) }}
{{ Form::hidden('from','financial') }}
{{ Form::label('tags', __('Tags'),['class' => 'form-control-label']) }} {{ __('Seprated By Comma') }} {{ Form::text('tags', null, ['class' => 'form-control','data-toggle' => 'tags','placeholder'=>__('Type here..')]) }}
{{ Form::button(__('Save'), ['type' => 'submit','class' => 'btn btn-sm btn-primary rounded-pill']) }}
{{ Form::close() }}
{{__('Task Stage')}}
{{ Form::open(['route' => ['project.stages.store', $project->id, 'task']]) }}
{{ Form::close() }}
{{__('Email Notification Settings')}}
{{ Form::open(['route' => ['status.email.language'],'method' => 'POST']) }} @foreach ($EmailTemplates as $EmailTemplate) @php($template = $EmailTemplate->template($project->id)) @if($EmailTemplate->name != 'User Invite') @endif @endforeach
{{__('Name')}} {{__('On/Off')}}
{{ $EmailTemplate->name }}
is_active) && $template->is_active == 1) checked="checked" @endif />
{{ Form::button(__('Save'), ['type' => 'submit','class' => 'btn btn-sm btn-primary rounded-pill']) }}
{{ Form::close() }}
{{__('Shared Project Settings')}}
{{ Form::open(['route' => ['projects.copy.link', $project->id],'method' => 'POST']) }}
{{__('Name')}} {{__('On/Off')}}
{{ __('Basic details')}}
basic_details) && $result->basic_details == 'on') checked="checked" @endif id="copy_link_1" value="on">
{{ __('Member')}}
member) && $result->member == 'on') checked="checked" @endif id="copy_link_2" value="on">
{{ __('Milestone')}}
milestone) && $result->milestone == 'on') checked="checked" @endif id="copy_link_3" value="on">
{{ __('Activity')}}
activity) && $result->activity == 'on') checked="checked" @endif id="copy_link_4" value="on">
{{ __('Attachment')}}
attachment) && $result->attachment == 'on') checked="checked" @endif id="copy_link_5" value="on">
{{ __('Task')}}
task) && $result->task == 'on') checked="checked" @endif value="on">
{{ __('Tracker details')}}
tracker_details) && $result->tracker_details == 'on') checked="checked" @endif id="copy_link_8" value="on">
{{ __('Timesheet')}}
timesheet) && $result->timesheet == 'on') checked="checked" @endif id="copy_link_9" value="on">
{{ __('Password Protected')}}
password_protected) && $result->password_protected == 'on') checked="checked" @endif value="on">
{{ Form::label('password', __('Password'),['class' => 'form-control-label']) }}
{{ Form::button(__('Save'), ['type' => 'submit','class' => 'btn btn-sm btn-primary rounded-pill']) }}
{{ Form::close() }}
@endsection @push('script') @endpush