0
Hi,
Notes and admin notes in invoice manger can not be saved. What could be the problem?
regards,
Zafer
Notes and admin notes in invoice manger can not be saved. What could be the problem?
regards,
Zafer
Responses (7)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0Hello 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 agoHello 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?
-
-
Accepted Answer
0Thank 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 agoHello 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
-
-
Accepted Answer
-
Accepted Answer
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 agoThank 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 Schulzemore than a month agoGood news :) Thank you for your that!
BR
Michael
-
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »