[Koha-bugs] [Bug 19593] [16.11.x] "Delete vendor" button is always set

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 19 22:12:44 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19593

--- Comment #13 from Chris Cormack <chris at bigballofwax.co.nz> ---
Ok, discount is a float(6,4) .. and tax_rate is a decimal(6,4), 

$VAR1 = {
          'bookselleremail' => undef,
          'notes' => 'notes2',
          'address2' => 'address2-2',
          'booksellerurl' => undef,
          'booksellerfax' => undef,
          'url' => 'url2',
          'address1' => 'address1_2',
          'phone' => 'phone2',
          'listprice' => undef,
          'fax' => 'fax2',
          'id' => 44,
          'invoiceincgst' => 1,
          'currency' => '',
          'accountnumber' => 'accountnumber2',
          'name' => 'Name2',
          'deliverytime' => 2,
          'postal' => 'postal2',
          'tax_rate' => '2.0000',
          'gstreg' => 1,
          'listincgst' => 1,
          'invoiceprice' => undef,
          'address4' => 'address4_2',
          'discount' => '2',
          'othersupplier' => undef,
          'address3' => 'address3_2',
          'active' => 1
        };

It's handing back 2 instead of 2.0000 but fine for tax_rate, if I change the db
to be decimal, it works
Not to do with this bug, ill fix the basketcount thing, and push that, but this
test needs looking into more

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list