Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The whole library purpose is to simplify working with Czech VAT while it allows to extend and bend computing logic of every important operation.

$cl = new \BiteIT\Taxes\CalcLogic();

$pl = new \BiteIT\Taxes\PriceList(\BiteIT\Taxes\Rates::HIGH_PERCENT, $cl);

$pl->addWithVat(121, 1);
$pl->addWithVat(200, 2, \BiteIT\Taxes\Rates::MEDIUM_PERCENT);
$pl->addWithVat(299, 4, \BiteIT\Taxes\Rates::LOW_PERCENT);

var_dump([
    $pl->getTotalsWithVat(),
    $pl->getTotalsWithoutVat()
]);

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages