Laravel Nova Number field with display of Persian letters
This package allows the user to set up a field in Nova that forms and converts numbers to Farsi letters.
Installation
You can install the package via composer:
composer require xamani/nova-persian-number
for nova 3 or above
composer require xamani/nova-persian-number:^1.0
Usage
use Xamani\NovaPersianNumber;
PersianNumber::make('Price')
->format('0,0') // Defaults to "0,0"
->moneyUnit('تومان') // You can also use the null value
License
The MIT License (MIT).