Jump to content

Hix

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by Hix

  1. anything new with post/arrear payments? It would be very useful with our clients... thanks
  2. email finally sent. For the impatient, you can enable the taxed coupons over here. Change 'tax' => false to true: /blesta/app/models/services.php
  3. Bad news guys. I got a serious bug. With VAT... the Blesta shows CORRECT values under "services" tab... BUT... it puts DIFFERENT numbers to the recurring invoices. I suspect, that it worked before updating to 4.x. Example: service: 100 USD per month + VAT 20%, minus discount coupon 50% minus 20% VAT from that = 100+20-50-10 = 60 USD TOTAL. This is correctly shown under client / services. BUT.. here comes that problem: IT INVOICES: 100USD + 20% TAX = 120 USD MINUS 50 USD discount = 70 USD. 70 is not 60 USD expected by the customer. Please.. this is pretty urgent.
  4. hehe.. okay, next time I'm gonna use the unified diff format ...the reason why I used that is that I've forgotten the diff's syntax and was too lazy to study the man page again...
  5. <svg id="graph_revenue_year" class="graph nvd3-svg"><text class="nvd3 nv-noData" dy="-.7em" x="420" y="90" style="text-anchor: middle;">There is no data to display</text></svg> there is no "g" tag inside this middle svg.
  6. Dont know what coud be wrong, but that new Revenue (Year to Date) in 4.0.0 is not showing anything for me...
  7. Hix

    Module gogetssl

    I got the same behaviour. Tried to connect to the real AND Sanbox APIs.. didnt list the products.
  8. Hi, I've just upgraded to 4.0.0 -- everything went smoothly, BUT... that annoying invoice downloading reappeared So here is the patch. I really think there should be a "view" (= stream to browser) AND "download" links on the invoice row. I've simply created a streamInvoices function and thats it. *** ../_extract/blesta/app/controllers/admin_billing.php 2017-03-14 10:23:18.000000000 +0100 --- ./blesta/app/controllers/admin_billing.php 2017-03-18 12:22:23.230248000 +0100 *************** *** 282,288 **** // Print invoices if (!array_key_exists('mark_printed', $this->post)) { $this->components(['InvoiceDelivery']); ! $this->InvoiceDelivery->downloadInvoices($invoice_ids); exit; } else { // Mark invoices printed --- 282,288 ---- // Print invoices if (!array_key_exists('mark_printed', $this->post)) { $this->components(['InvoiceDelivery']); ! $this->InvoiceDelivery->streamInvoices($invoice_ids); exit; } else { // Mark invoices printed diff -cr ../_extract/blesta/app/controllers/admin_clients.php ./blesta/app/controllers/admin_clients.php *** ../_extract/blesta/app/controllers/admin_clients.php 2017-03-14 10:23:18.000000000 +0100 --- ./blesta/app/controllers/admin_clients.php 2017-03-18 12:21:51.650062000 +0100 *************** *** 4292,4298 **** // Download the invoice in the admin's language $this->components(['InvoiceDelivery']); ! $this->InvoiceDelivery->downloadInvoices([$invoice->id], ['language' => Configure::get('Blesta.language')]); exit; } --- 4292,4298 ---- // Download the invoice in the admin's language $this->components(['InvoiceDelivery']); ! $this->InvoiceDelivery->streamInvoices([$invoice->id], ['language' => Configure::get('Blesta.language')]); exit; } diff -cr ../_extract/blesta/app/controllers/client_invoices.php ./blesta/app/controllers/client_invoices.php *** ../_extract/blesta/app/controllers/client_invoices.php 2017-03-14 10:23:18.000000000 +0100 --- ./blesta/app/controllers/client_invoices.php 2017-03-18 12:22:45.823894000 +0100 *************** *** 114,120 **** } $this->components(['InvoiceDelivery']); ! $this->InvoiceDelivery->downloadInvoices([$invoice->id]); exit; } } --- 114,120 ---- } $this->components(['InvoiceDelivery']); ! $this->InvoiceDelivery->streamInvoices([$invoice->id]); exit; } } diff -cr ../_extract/blesta/components/invoice_delivery/invoice_delivery.php ./blesta/components/invoice_delivery/invoice_delivery.php *** ../_extract/blesta/components/invoice_delivery/invoice_delivery.php 2017-03-14 10:23:20.000000000 +0100 --- ./blesta/components/invoice_delivery/invoice_delivery.php 2017-03-18 12:20:53.422226000 +0100 *************** *** 310,315 **** --- 310,320 ---- $invoices = $this->getInvoices($invoice_ids, true); $this->buildInvoices($invoices, true, $options)->download(); } + public function streamInvoices(array $invoice_ids, array $options = null) { + $invoices = $this->getInvoices($invoice_ids, true); + $this->buildInvoices($invoices, true, $options)->stream(); + } + /** * Returns an errors raised
  9. Hix

    Coupons & Tax

    OK, gonna test it. Paul I'm either INSANE or I've just seen Blesta calculating Coupons + Tax with two different results. Now it's OK, but it was not in the morning. Looks like I've edited SOMETHING which fixed the issue. Dont know what though...
  10. for some sick and alien reason IT IS WORKING NOW. looks like something was UPDATED when i edited all the services with coupons. further info: with our new company, we were NOT a VAT-registered company when we had installed the Blesta, so the tax wasnt there before.. I mean with that services.
  11. check this... my Blesta 3.6.2 is doing EXACTLY the same as something what was fixed in 3.0.6?
  12. Hix

    Coupons & Tax

    the bug is still there with the current STABLE release.
  13. Hix

    Have I been Pwned?

    Adobe, Badoo, Linkedin, Modaco, Myspace. Well.. didnt know about Modaco... edit: + Ashley Madison
  14. @Paul hey look.. here is the patch. It was quite an annoying bug, so I patched it. Me not being a true developer though, so I'm not sure if this is a proper way how to compare a date --- /root/billing_overview_statistics.php 2016-10-13 17:16:04.000000000 +0200 +++ ./plugins/billing_overview/models/billing_overview_statistics.php 2016-10-13 17:35:21.000000000 +0200 @@ -148,6 +148,7 @@ innerJoin("client_groups", "client_groups.id", "=", "clients.client_group_id", false)-> where("client_groups.company_id", "=", $company_id)-> where("invoices.status", "in", array("active", "proforma"))-> + where("invoices.date_billed", "<", date( 'Y-m-d H:i:s', strtotime("now") ) )-> where("invoices.currency", "=", $currency)-> where("invoices.date_closed", "=", null)-> fetch(); @@ -262,4 +263,4 @@ numResults(); } } -?> \ No newline at end of file +?> billing_overview_statistics.patch
  15. Thirty thousands customers... thats hardcore... respect to these people btw: with such huge client base, I'd be very nervous about WHMCS security...
  16. maybe it's not as necessary.. but I've seen that (that some people include CLIENTID in their invoices numbering).
  17. Thx -- I understand, but I'd still fund that development Because I need this feature often DURING the month.. PLUS... I'd like to ease the migration from WHMCS. Blesta must be truly user-friendly to compete with WHMCS and others.
  18. Guys, I've found a missing killer feature, required by a lot of users I'm pretty sure. Epecially useful for those, who invoice their customers in a POST-PAID mode. Eg. you charge clients on 1th november for OCTOBER services/work. I truly need to CLONE a open/closed/whatever invoice and assign it a new number. So the invoice items, price, customer atd are cloned to the new invoice... which I can alter a bit afterwards (for example change an item date). In the future, it would be useful to be able to do such cloning to the OTHER customers too... Tell me the price, I'll fund a development if it will be reasonable. It will save me and my employees a lot of time and energy. It can be a plugin, or a core feature.. doesnt matter. Thx. Jakub.
  19. it would be cool... I think this is quite an important stuff, especially under this stupid EU/CZ jurisdisction (we're from Prague, CZ). A lot of companies over here use also a CUSTOMER ID in their invoicing schemas.. so.. a lot of macros would be useful. The good thing imho is that it is soo easy to implement i Blesta.. Also -- this can be a game-changes for NEW customers moving over to Blesta -- they can CONTINUE with their numbering. And thats important especially under restrictive jurisdictions, such as atmost of EU countries. You got weird numbering scheme? Or you changed anything? Well... you could be tampering with somehing -> deep check of your accounting stuff
  20. Guys, easy to implement, but would help a lot of people: TWO digit year in invoice numbering -- eg. 16100986 -- {shortyear}{month}{day}{num} -- Settings > Company > Invoice Customization here is the patch (but use rather that attached one): --- ./invoices-old.php 2016-10-09 11:45:43.000000000 +0200 +++ ./app/models/invoices.php 2016-10-09 12:10:29.000000000 +0200 @@ -2383,8 +2383,8 @@ // Set the id format accordingly, also replace the {year} tag with the appropriate year, // the {month} tag with the appropriate month, and the {day} tag with the appropriate day // to ensure the id_value is calculated appropriately on a year-by-year basis - $tags = array("{year}", "{month}", "{day}"); - $replacements = array($this->Date->format("Y"), $this->Date->format("m"), $this->Date->format("d")); + $tags = array("{year}", "{shortyear}", "{month}", "{day}"); + $replacements = array($this->Date->format("Y"), $this->Date->format("y"), $this->Date->format("m"), $this->Date->format("d")); $vars['id_format'] = str_ireplace($tags, $replacements, $inv_format); // Creates subquery to calculate the next invoice ID value on the fly patch
  21. count me in - we're leaving WHMCS - like a - for good. The main reason is the inability to buy further "owned" licenses and loss of trust in WHMCS company in general. I dont have issues with levels of new prices, I just REFUSE to have a key company software - a billing - "just rented". I need a "boxed" version just for my peace of mind.
×
×
  • Create New...