Update source into github

This commit is contained in:
pbao9
2025-07-24 16:18:27 +07:00
parent 41419358dd
commit 69851ac7bc
2642 changed files with 284095 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace App\Http\Livewire\Order;
use App\Models\Order as CustomerOrder;
use Livewire\Component;
use Livewire\WithoutUrlPagination;
use Livewire\WithPagination;
class OrderList extends Component
{
use WithPagination, WithoutUrlPagination;
public function render()
{
return view('livewire.order.order-list', [
'orders' => CustomerOrder::where('customer_id', customer()->id)
->latest()
->paginate(10)
]);
}
}