This commit is contained in:
Dennis
2023-01-28 19:57:43 +01:00
parent 3313786480
commit 3cd83ad69c
4 changed files with 489 additions and 486 deletions

View File

@@ -64,6 +64,7 @@ class PackageResource extends Resource
'inr' => 'INR (Indian ₹ rupee)',
'thb' => 'THB (Thai Baht)',
'brl' => 'BRL R$ (Brazilian Real)',
'nz' => 'NZD $ (New Zealand Dollar)',
])
->required(),
Grid::make()

View File

@@ -227,6 +227,7 @@ class ProfileBillingController extends Controller
Package::CURRENCY_INR => 'INR ₹',
Package::CURRENCY_THB => 'THB ',
Package::CURRENCY_BRL => 'BRL R$ ',
Package::CURRENCY_NZD => 'NZD $ ',
];
return $currencies[strtolower($key)] ?? '$';

View File

@@ -19,6 +19,7 @@ class Package extends Model
const CURRENCY_INR = 'inr';
const CURRENCY_THB = 'thb';
const CURRENCY_BRL = 'brl';
const CURRENCY_NZD = 'nz';
public $fillable = [
'name',