outl1ne/nova-currency-vat-field 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

outl1ne/nova-currency-vat-field

最新稳定版本:2.0.1

Composer 安装命令:

composer require outl1ne/nova-currency-vat-field

包简介

A Laravel Nova Currency field extension with VAT toggle.

README 文档

README

Latest Version on Packagist Total Downloads

This Laravel Nova package allows you to create and manage menus and menu items.

Requirements

  • php: >=8.0
  • laravel/nova: ^4.13

Features

An extension of Nova's default Currency field that provides a checkbox for toggling between VAT and non-VAT prices on the Form view.

Renders the default Currency field on Index and Detail views.

Screenshots

Form page

Installation

Install the package in to a Laravel app that uses Nova via composer:

composer require outl1ne/nova-currency-vat-field

Usage

use Outl1ne\NovaCurrencyVatField\CurrencyVAT;

public function fields(Request $request) {
    CurrencyVAT::make('Price', 'price')
      ->VAT(20), // Required, otherwise VAT checkbox isn't rendered
      ->storedWithVAT(), // By default with VAT
      ->storedWithoutVAT()
}

Credits

License

Nova Currency VAT Field is open-sourced software licensed under the MIT license.

统计信息

  • 总下载量: 10.12k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-07-08