inital commit

This commit is contained in:
2026-06-24 18:29:01 +06:00
commit f401802bf7
3918 changed files with 553085 additions and 0 deletions

21
app/Models/TmpSale.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class TmpSale extends BaseModel
{
use HasFactory;
protected $fillable = ['order_id','status'];
public function createTmpSale($inputData){
$inputData['status'] = config('constant.SALE_STATUS.PENDING');
return self::create($inputData);
}
public function deleteTmpSaleById($id){
return self::destroy($id);
}
}