Giter VIP home page Giter VIP logo

kimai2-smallbusinessrulebundle's Introduction

Small business regulation bundle for Kimai

This Kimai plugin provides a function that makes it easy to use the small business regulation as it can be used in Germany and Austria.

Features

  • Adds a setting to enable the small business regulation globally.
  • Disables VAT calculation for all invoices.
  • Hides VAT in all default invoices.
  • Adds a note to the invoice that the small business regulation is used.

Requirements

This plugin is compatible with the following Kimai releases:

Bundle version Minimum Kimai version
1.0 1.24
2.0 2.0
2.1.0 2.7

Installation

First clone this repository to your Kimai installation plugins directory:

cd var/plugins/
git clone https://github.com/LiaraAlis/kimai2-SmallBusinessRuleBundle.git SmallBusinessRuleBundle

Now you need to rebuild the cache, and you're ready to go!

bin/console kimai:reload --env=prod

To enable the small business regulation, go to the system settings and enable the checkbox in section Invoices. From now on, small business regulation is applied on all your invoices.

kimai2-smallbusinessrulebundle's People

Contributors

kevinpapst avatar liaraalis avatar milotype avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

milotype

kimai2-smallbusinessrulebundle's Issues

Kimai2 crashing when opening settings

nano +222 /srv/sites/kimai/src/Controller/SystemConfigurationController.php

2023-09-13 13:45:35] request.CRITICAL: Uncaught PHP Exception TypeError: "App\Entity\Configuration::setName(): Argument #1 ($name) must be of type string, null given, called in /srv/sites/kimai/src/Repository/ConfigurationRepository.php on line 111" at /srv/sites/kimai/src/Entity/Configuration.php line 67 {"exception":"[object] (TypeError(code: 0): App\\Entity\\Configuration::setName(): Argument #1 ($name) must be of type string, null given, called in /srv/sites/kimai/src/Repository/ConfigurationRepository.php on line 111 at /srv/sites/kimai/src/Entity/Configuration.php:67)"} []

A simple isset() check works, but it still can't load the lable for the small business rule setting and Kimai2 feels buggy.

Kimai Doktor Version: 1.30.11 stable (prod)

Licensing question

I noticed that this repository lacks a license and would like to know the license terms that apply to it.
If you are unsure about the license I would recommend choosing one from https://spdx.org/licenses/ , ideally both
"FSF Free/Libre" and "OSI Approved".

Not working with Kimai 2.0

I used this plugin for some time.

Currently i get an error on startup

NOTICE: PHP message: PHP Fatal error: Uncaught Exception: Bundle "SmallBusinessRuleBundle" defines an invalid Kimai minimum version in extra.kimai.require. Please provide an integer as in Constants::VERSION_ID. in /opt/kimai/src/Plugin/PluginMetadata.php:59

And the plugin is marked as NOT compatible in the plugin store: https://www.kimai.org/de/store/liaraalis-small-business-rule-bundle.html

Are there any plans to update this plugin?

Dutch translation

Could you maybe add a dutch translation for a invoice generated in dutch?

messages.nl.xlf:

<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
  <file source-language="en" target-language="nl" datatype="plaintext" original="messages.nl.xlf">
    <body>
      <trans-unit id="J1IjZoS" resname="invoice.small_business_rule">
        <source>invoice.small_business_rule</source>
        <target>Factuur vrijgesteld van omzetbelasting op grond van artikel 25 uit de Wet op de omzetbelasting.</target>
      </trans-unit>
    </body>
  </file>
</xliff>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.