Invoice notes and admin notes problem

Zafer
Zafer
Offline
0
Hi,

Notes and admin notes in invoice manger can not be saved. What could be the problem?

regards,

Zafer
Attachments:
Responses (7)
  • Accepted Answer

    Joan Vilà
    Joan Vilà
    Offline
    Friday, November 06 2015, 10:57 AM - #Permalink
    0
    Hello Zafer,

    It seems that something could have broken here.

    Please, send me ftp access to joan @joomlathat.com and I will take a look at it.

    Thank you,
    Joan
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, November 10 2015, 08:00 PM - #Permalink
    0
    Hello :)
    i have done the fix for jce so that i have simple text boxes now. but even with that i have the same problem as described here. i gues this problem is a maybe a little bug?! Please provide a solution for that. Thank you very much :)
    BR
    Michael
    The reply is currently minimized Show
  • Accepted Answer

    Joan Vilà
    Joan Vilà
    Offline
    Wednesday, November 11 2015, 02:28 PM - #Permalink
    0
    Hello Michael,

    This is strange. Removing the jce editor for the notes usually solves the problem.

    If you send me access to joan@ joomlathat.com I will take a look at it.

    Thank you,
    Joan
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, November 15 2015, 12:11 AM - #Permalink
    0
    Hello Joan :)
    You said this is strange? Hmmm, Zafar said he had this problem that notes are not saved. I have the same problem. What was the solution for Zafar?
    BR
    Michael
    • Joan Vilà
      more than a month ago
      Hello Michael,
      we are testing this intensively to see if there may be some bug, and we can't see it, as far as we see the notes get saved correctly...
      maybe there's some issue with the code modification to take the editor out. can you send me access to your site at joan@ joomlathat.com so I can take a look?
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 16 2015, 01:28 PM - #Permalink
    0
    Thank you for your comment Joan,
    this is my code for form_notes.php:

    <?php

    /*------------------------------------------------------------------------
    # com_invoices - Invoices for Joomla
    # ------------------------------------------------------------------------
    # author Germinal Camps
    # copyright Copyright (C) 2012 JoomlaFinances.com. All Rights Reserved.
    # @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
    # Websites: http://www.joomlafinances.com
    # Technical Support: Forum - http://www.joomlafinances.com/forum
    -------------------------------------------------------------------------*/

    //no direct access
    defined('_JEXEC') or die('Restricted access.');

    $editor = JFactory::getEditor();
    ?>

    <div class="control-group">
    <label class="control-label"> <?php echo JText::_( 'NOTES' ); ?>: </label>
    <div class="controls">
    <textarea class="span12" name="thecontent" id="thecontent" cols="100" rows="10"><?php echo $this->invoice->notes; ?></textarea>
    </div>
    </div>
    <div class="control-group">
    <label class="control-label"> <?php echo JText::_( 'ADMIN_NOTES' ); ?>: </label>
    <div class="controls">
    <textarea class="span12" name="thecontent" id="thecontent" cols="100" rows="10"><?php echo $this->invoice->admin_notes; ?></textarea>
    </div>
    </div>


    If you want to check this.
    If you even need access, i will give you super user and ftp.
    Thanks :)

    BR
    Michael
    • Joan Vilà
      more than a month ago
      Hello again Michael,

      It must be the name you gave to the textarea's.
      Try naming them notes and admin_notes respectively instead of thecontent.
      I would also change it's id's giving them the value of the name.

      Please, tell me if that works,
      Joan
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 16 2015, 06:34 PM - #Permalink
    0
    Wow! Seems to work :) Will test for next real case. Thanks a lot :)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 18 2015, 07:38 PM - #Permalink
    0
    @Joan: Yes! Works perfect. Tested again and done some invoices for clients. Thank you very much for your great support :)
    • Joan Vilà
      more than a month ago
      Thank you Michael,

      On the next version, Invoice Manager will have an option to choose if the notes field are displayed with plain text or with the Joomla editor to avoid this kind of errors.

      Regards!
    • Michael Schulze
      more than a month ago
      Good news :) Thank you for your that!
      BR
      Michael
    The reply is currently minimized Show
Your Reply