diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4748d96356a..ea01c1976046 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/app/Helpers/Invoice/InvoiceItemSum.php b/app/Helpers/Invoice/InvoiceItemSum.php index 2f555981ddb2..3aa197474147 100644 --- a/app/Helpers/Invoice/InvoiceItemSum.php +++ b/app/Helpers/Invoice/InvoiceItemSum.php @@ -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);