diff --git a/app/Livewire/System/Jcps/JCPCreateForm.php b/app/Livewire/System/Jcps/JCPCreateForm.php index 7b9ccba..592558d 100644 --- a/app/Livewire/System/Jcps/JCPCreateForm.php +++ b/app/Livewire/System/Jcps/JCPCreateForm.php @@ -7,11 +7,40 @@ class JCPCreateForm extends Component { + public $currentPage = 1; + public $positionTitle = ''; public $jobGrade = ''; public $jobPurpose = ''; public $isActive = ''; + // Page information + public $pages = [ + 1 => [ + 'title' => 'Job Competency Profile Information', + 'description' => 'Make sure the information you enter coresponds to the Job Description.', + ], + 2 => [ + 'title' => 'Prerequisite Information', + 'description' => 'Enter the information regarding required qualifications,certifications and/or licenses.', + ], + 3 => [ + 'title' => 'Skills Information', + 'description' => 'Enter the information regarding required skills and abilities.', + ], + + ]; + + public function nextPage() + { + $this->currentPage++; + } + + public function previousPage() + { + $this->currentPage--; + } + public function save() { jcp::create( diff --git a/resources/views/components/action-section.blade.php b/resources/views/components/action-section.blade.php index ad8b077..b5e36cb 100644 --- a/resources/views/components/action-section.blade.php +++ b/resources/views/components/action-section.blade.php @@ -5,7 +5,7 @@