Hi alex1452.
The system is trying to reach the files from the default language which is coded as 'C', the reason why you are having such issue I don`t know, but the simpliest way to fix that error is coping the files in the 'lang/en_US' folder and rename that folder as 'lang/C' also all the contents in the folder LC_MESSAGES to C.po, C.mo let us know how it went.

Hi, can you upload a image of your problem?, if the option is grayed , did you check the "Access setup" option in Setup tab  to allow access to the user's role?

Hi.

I found kvcodes as one of the best theme developers, you'll find youtube videos of his themes.

I remember he had a simple explanation of how to modify themes, the best approach to modify themes is opening the standard themes and modify them so you can understand how it works.

Hi,

Hope someone can help me, I'm trying to manage a Customer Debit note in the system (in my country a debit note must be a different type of transaction and a different type of document), the concept behind it is the opossite of a credit note allowing to debit the customer´s account, increasing the accounts receivable amount.

What I've done so far is a copy of the credit notes applications and scripts changing those files to debit, creating a new transaction type 14 (ST_CUSTDEBIT), but when I want to create the journal entries I must modify the sales_credit_db.inc (this is the file I suppose create the GL transactions), I copy the file and renamed as sales_debit_db.inc, but I still get the same result as the credit note.

My questions are how the credit note creates the journal entries? and Which functions are used in the creation of GL lines when process credit notes?

Thanks for your help

5

(1 replies, posted in FA Modifications)

Hi

If someone find this useful

I was needing radio buttons to work dinamically in frontaccounting and I could't find anything, so I decide to create a function to do so:

function dynamic_radio_row(
                            $label,
                            $name,
                            $options = [],
                            $selected,
                            $orientation = 'vertical',
                            $default = null
                            )
                                {
                                    $current = ($selected == null || $selected == ' ') ? $default : $selected;

                                    $separator = $orientation === 'horizontal' ? "   " : "<br><br>";

                                    echo "<tr><td class='label'>".htmlspecialchars($label, ENT_QUOTES)."</td><td>";

                                    foreach ($options as $value => $text)
                                                {
                                                    $checked = ($value === $current) ? " checked" : "";
                                                    echo "<input type='radio' "
                                                       . "name='" . htmlspecialchars($name, ENT_QUOTES) . "' "
                                                       . "value='" . htmlspecialchars($value, ENT_QUOTES) . "'"
                                                       . $checked
                                                       . "> " . htmlspecialchars($text, ENT_QUOTES)
                                                       . $separator;
                                                }

                                    echo "</td></tr>";
                                }
                               
How you call it:

/**
* @param string $label
* @param string $name
* @param array  $options
* @param string $selected    Selected value (could be POST)
* @param string $orientation 'vertical' | 'horizontal' depending how you want to display the values
* @param string $default     Default value if $selected is null, empty or a blank space.
*/

// Array with the neccesary options for the radio Button
$opts = [
              'ONE'   => _('First'),
              'TWO'   => _('Second'),
              'THREE' => _('Third'),
              'FOUR'  => _('Fourth'),   
        ];

dynamic_radio_row(_('Select Option:'), 'my_field', $opts, get_post('my_field'), 'vertical', 'ONE');

6

(3 replies, posted in Reporting)

Did you integrate it as a FrontAccounting module?

7

(3 replies, posted in Reporting)

I was trying to find an alternative to the old RepGen module and I came across Reportico, finding it really interesting and powerful.

Does anyone ever consider reportico as a integrated module to build frontaccounting reports?

8

(2 replies, posted in Setup)

Change the user's theme in users table (0_users) modifing the field 'theme' setting the value 'default' using phpmyadmin or any other database application, clear the web browser history and try to log in again.

Hi

I have a non complete module, I need help with someone who can finish it. is a localization an I need to include electronic documents.