34ml/filament-price-converter-field

A price converter field for filament admin panel

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/34ml/filament-price-converter-field

v1.2.1 2024-01-23 09:55 UTC

This package is auto-updated.

Last update: 2025-09-26 12:09:31 UTC


README

PriceConverterFieldHeader

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.