new: make invoice still keep the old addresses when their address gets deleted in profile

This commit is contained in:
Valentin Lab
2025-10-04 12:39:13 +02:00
parent 09b6c3cf28
commit 29c21367d7
3 changed files with 4 additions and 2 deletions

View File

@@ -3,9 +3,11 @@
namespace App\Models\Shop;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class CustomerAddress extends Model
{
use SoftDeletes;
protected $guarded = ['id'];
protected $table = 'shop_customer_addresses';