Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
OniiCoder committed Feb 9, 2024
1 parent dd336b6 commit 7db0912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/models/orders/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<x-fab::layouts.panel>

<x-fab::forms.date-picker
wire:model="model.date_ordered"
wire:model="model.order_date"
label="Date of Order"
help="This is the date this order was placed."
:options="[
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Livewire/OrdersForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class OrdersForm extends Form
public function rules()
{
return [
'model.date_ordered' => 'nullable',
'model.order_date' => 'nullable',
'model.depot_order_id' => 'nullable',
'model.product_id' => 'required',
'model.status' => 'required',
Expand Down

0 comments on commit 7db0912

Please sign in to comment.