iOS invoice app need to made reports

  1. 6 months ago

    Alexis C

    12 Mar 2019 Pre-Release Testers, Xojo Pro Puerto Rico, USA

    help
    if any one have made reports or invoice and send by email.

  2. nicolás c

    14 Mar 2019 Pre-Release Testers, Xojo Pro

    puedes crear reportes simplemente con html

  3. Alexis C

    14 Mar 2019 Pre-Release Testers, Xojo Pro Puerto Rico, USA
    Edited 6 months ago

    ok
    Gracias
    pero tienes un ejemplo para iOS

  4. nicolás c

    15 Mar 2019 Pre-Release Testers, Xojo Pro

    no. nunca he trabajado con iOS ya que solo uso windows. pero me imagino que no debe ser muy difícil mostrar un documento html

  5. nicolás c

    15 Mar 2019 Pre-Release Testers, Xojo Pro

    http://docs.xojo.com/UserGuide:iOS_HTML_Viewer

    http://docs.xojo.com/iOSHTMLViewer

  6. Emile S

    15 Mar 2019 Europe (France, Strasbourg)

    also:

    https://www.w3schools.com/html/

  7. Alexis C

    15 Mar 2019 Pre-Release Testers, Xojo Pro Puerto Rico, USA

    Gracias

  8. Philip C

    20 Mar 2019 Pre-Release Testers, Xojo Pro Cooroy, QLD, Australia
    Edited 6 months ago

    If you create your invoice as an html document, then display it on your iPhone, you can press the sharing panel button (square with top arrow) on your iPhone. Then choose Print. This will display an image for printing. Press on this image continuously, and it will then convert it to a .pdf file you can email.

  9. Alexis C

    20 Mar 2019 Pre-Release Testers, Xojo Pro Puerto Rico, USA

    ok
    thanks

  10. Philip C

    20 Mar 2019 Pre-Release Testers, Xojo Pro Cooroy, QLD, Australia

    Hope it works for you.
    You could probably do the same with a text area or canvas control - haven’t tested it

  11. Dave S

    20 Mar 2019 San Diego, California USA

    amazed that nobody has created the correct set of "declares" to create an iOS PDF graphic context. Its works the same as a "normal" graphic context (which I would assume is the basis for the Xojo iOS Canvas). That way you just draw your report and outcomes a PDF.

  12. Philip C

    20 Mar 2019 Pre-Release Testers, Xojo Pro Cooroy, QLD, Australia
    Edited 6 months ago

    I don't understand why either.

    But a simple way to do this is to put the report into a text string (or text area)

    e.g.

    Dim Record As Text = "Summary of Patient Record,"
    Record = Record +" Height, Weight, Gender, EBV, preHeparinACT, desiredACT,InitialHeparinDose,postHeparinACT,Anticoagulant,Slope" + &u0A
    Record = Record + " ,"+ HeightTextField.text + "," + WeightTextField.text + "," + Gender + "," + preHeparinTextField.text + "," + desiredACTTextField.text + ","
    Record = Record + BolusGivenTextField.text + "," + postHeparinTextField.text + "," + Anticoagulant + "," + Slope.ToText + &u0A

    Then put a sharing panel on the iPhone app window, and a button on the window that in its open event calls:
    SharingPanel1.ShareText(Record, Self, Me)

    Then when the button is pressed, the sharing panel opens up all the options available to that phone, including print. Then if one prints, highlight the image to be printed, long press on it converts it to a pdf, with an option to send via e-mail.

    Check out the iOS sharing panel share text option in the Xojo docs.

  13. Alexis C

    23 Mar 2019 Pre-Release Testers, Xojo Pro Puerto Rico, USA

    help some
    I need to learn how to draw the invoice frame on HTML and then change the data.
    I am little confuse

  14. Alexis C

    26 Mar 2019 Pre-Release Testers, Xojo Pro Puerto Rico, USA

    i have to experiment with Valentina Studio that export html file from the reports this way i can make html reports without do all manual.

    thanks to Valentina support

or Sign Up to reply!