Fixes for release

This commit is contained in:
David Bomba 2020-12-20 08:00:02 +11:00
parent 6b02d51080
commit d8fab379ac
2 changed files with 11 additions and 2 deletions

View File

@ -5,10 +5,19 @@ on:
name: Upload Release Asset
jobs:
run:
runs-on: ubuntu-18.04
build:
name: Upload Release Asset
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: mysql, mysqlnd, sqlite3, bcmath, gd, curl, zip, openssl, mbstring, xml
- name: Checkout code
uses: actions/checkout@v1
with:

View File

@ -112,8 +112,8 @@ class InvoiceItemSum
{
$item_tax = 0;
info(print_r($this->item,1));
info(print_r($this->invoice,1));
// info(print_r($this->item,1));
// info(print_r($this->invoice,1));
$amount = $this->item->line_total - ($this->item->line_total * ($this->invoice->discount / 100));
$item_tax_rate1_total = $this->calcAmountLineTax($this->item->tax_rate1, $amount);