diff --git a/app/Livewire/OrderShow.php b/app/Livewire/OrderShow.php index 5a0c846..3e397a4 100644 --- a/app/Livewire/OrderShow.php +++ b/app/Livewire/OrderShow.php @@ -16,6 +16,7 @@ class OrderShow extends Component public string $role; public string $search = ''; public string $show_filters = 'block'; + public bool $show_place_order_section = false; public function mount(): void { @@ -57,6 +58,11 @@ public function resetFilters(): void $this->show_filters == 'hidden' ? $this->show_filters = 'block' : $this->show_filters = 'hidden'; } + public function togglePlaceOrderSection(): void + { + $this->show_place_order_section = !$this->show_place_order_section; + } + public function render(): View { if ($this->role === 'writer') { diff --git a/app/Models/Payment.php b/app/Models/Payment.php index 69cf577..91c2c07 100644 --- a/app/Models/Payment.php +++ b/app/Models/Payment.php @@ -34,8 +34,8 @@ public function getStatusClass(): string public function getStatusDescription(): string { return match ($this->status) { - 'pending' => 'Payment is pending.', - 'completed' => 'Payment has been completed.', + 'pending' => 'Payment pending verification.', + 'completed' => 'Payment has been verified.', 'failed' => 'Payment has failed.', default => 'Payment status is unknown.', }; diff --git a/resources/views/orders/show.blade.php b/resources/views/orders/show.blade.php index b3a0613..27a3a54 100644 --- a/resources/views/orders/show.blade.php +++ b/resources/views/orders/show.blade.php @@ -10,33 +10,54 @@
+ An order is a request for our professional services, which can include essay writing, + research papers, and more. + By placing an order, you ensure that your academic needs are met by our expert team. +
++ When you place an order, you provide us with detailed instructions about your requirements, + deadlines, and any additional materials. + Our team will match you with the best writer for your subject area to ensure high-quality, + plagiarism-free work. +
+- When you place an order, you provide us with detailed instructions about your requirements, - deadlines, and any additional materials. - Our team will match you with the best writer for your subject area to ensure high-quality, - plagiarism-free work. -