StuartW

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Recurring Invoices #2157
    StuartW
    Participant

    First a bit more background. We run our own mail server but there was nothing in the logs. The invoice site is protected first by basic Apache authentication (user and password) and secondly by a login with password to the invoicing site (along with other scripts that check the logs and adjust the firewall againat bad actors) The error reported stemmed from the webserver denying access to its own address in the absence of the server user/ password. Changing the apache server basic authentication to allow a curl request from itself. sufficed to allow the request to be actioned. It succeeded. Again many thanks for your prompt reply and hints.

    in reply to: Recurring Invoices #2155
    StuartW
    Participant

    Many thanks that makes sense, I get it now (also just found the render invoice button that confirms it).

    However I cannot email invoice out. I get this reesponse to a curl command
    <html><head>
    <title>401 Unauthorized</title>
    </head><body>
    <h1>Unauthorized</h1>
    <p>This server could not verify that you
    are authorized to access the document
    requested. Either you supplied the wrong
    credentials (e.g., bad password), or your
    browser doesn’t understand how to supply
    the credentials required.</p>
    </body></html>

    My custom.config.ini has:-
    emailHost = mymailserver
    emailSmtpAuth = true
    emailUsername = SameAsLoginName
    emailPassword = passworSetOnMailServer
    emailSmtpPort = 25
    emailSecure = tls
    emailAck = false
    emailUseLocalSendmail = false

    The invoice system is protected by a user and password. How can one authorise the curl request.
    many thanks

    in reply to: PDF rendering differs from Print #2059
    StuartW
    Participant

    That makes sense, but I cannot see how to overwite this. How do I modify parameters class1=” class2=” passed to the print_if_not_null function at present to do this or what should I add to the local style.css?. I tried modifying main.css to have tr.biller th,tr.customer th{font-weight:normal}, but it had no effect. It still appears in bold (and is also centered). Any ideas on where the bold is being inherited from? Is there any way of inspecting the html before it is transformed by mpdf? Sorry for my ignorance but can you possibly help me about here pleaase.

    in reply to: PDF rendering differs from Print #2056
    StuartW
    Participant

    The Customer and Biller labels for phone, mobile, fax and email in my invoice pdf are in bold. Can any one explain how to stop them appearing in bold?

    I have been running 2013.1.beta.8 with php 5 on debian 8 (jessie) as I had fixed my emailing, I finally decided I really had to upgrade and have installed version 2023.0.7 and imported my data. Since you noted that mpdf does not support float right, I amended the 2013.1.beta.8 template with tables and fudged the widths to fit an A4 page. I have attached a copy of this template. There are two differences.

    The Customer and Biller labels for phone, mobile, fax and email are appearing in bold. The other issue is that the font sizing is larger.

    Any insights would be welcomed, many thanks.

    Attachments:
    in reply to: PDF rendering differs from Print #1625
    StuartW
    Participant

    I had been running 2013.1.beta.8 with php 5 on debian 11 (bulseye) until an openssl update got in the way. I have set up a vm running debian 8 (jessie) which has an older version of openssl which lets me run 2013.1.beta.8 with php 5 (albeit without my logo and cannot send email). That might be a useful way to install an old version. When I get time over the next few weeks I will have another attempt at the default template. Your insights will be very helpful. Thanks again

    in reply to: PDF rendering differs from Print #1616
    StuartW
    Participant

    Many thanks

    in reply to: PDF rendering differs from Print #1601
    StuartW
    Participant

    Many thanks, yes I get something similar once I changed the Font setting from 12 to 7.

    Previously with version 2013.1.beta.8 the layout was:
    logo etc at top
    then biller details on left with summary to the right
    then customer details on left
    then notes and details below
    I have attached redacted sample.

    I guess the question should be “Is there a similar template?” or do I need to create it?

    Again many thanks for your help

    Attachments:
Viewing 7 posts - 1 through 7 (of 7 total)