add datatables on orders

This commit is contained in:
Ludovic CANDELLIER
2023-02-28 08:42:53 +01:00
parent 3745abc90b
commit 4e69399309
10 changed files with 62 additions and 4 deletions

View File

@@ -8,6 +8,11 @@ use App\Models\Shop\Invoice;
class Invoices
{
public static function getByUUID($uuid)
{
return Order::byUUID($uuid)->first();
}
public static function saveInvoice($order_id, $data)
{
$data['order_id'] = $order_id;