34ml/filament-price-converter-field
最新稳定版本:v1.2.1
Composer 安装命令:
composer require 34ml/filament-price-converter-field
包简介
A price converter field for filament admin panel
README 文档
README
Installation
You can install the package via composer:
composer require 34ml/filament-price-coverter-field
This is the content of the published config file where you can set the default currency
return [ 'currency' => 'EUR', ];
Usage
Add the field in your resource, view, create or edit pages inside the form function
use _34ML\FilamentPriceConverterField\FilamentPriceConverterField; FilamentPriceConverterField::make('price')->required(),
Also if you want to use it inside a table for the list page
use _34ML\FilamentPriceConverterField\FilamentPriceConverterColumn; FilamentPriceConverterColumn::make('price')->label('Sale Price'),
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-25
