Accountancy FAQ - Move to toggle()
This commit is contained in:
parent
6726a7cbb0
commit
4d5547636d
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2016 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2016 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2016-2019 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
* Copyright (C) 2016-2019 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||||
* Copyright (C) 2019 Frédéric France <frederic.france@netlogic.fr>
|
* Copyright (C) 2019 Frédéric France <frederic.france@netlogic.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -44,14 +44,14 @@ $hookmanager->initHooks(array('accountancyindex'));
|
|||||||
|
|
||||||
if (GETPOST('addbox')) // Add box (when submit is done from a form when ajax disabled)
|
if (GETPOST('addbox')) // Add box (when submit is done from a form when ajax disabled)
|
||||||
{
|
{
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/class/infobox.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/class/infobox.class.php';
|
||||||
$zone=GETPOST('areacode', 'aZ09');
|
$zone=GETPOST('areacode', 'aZ09');
|
||||||
$userid=GETPOST('userid', 'int');
|
$userid=GETPOST('userid', 'int');
|
||||||
$boxorder=GETPOST('boxorder', 'aZ09');
|
$boxorder=GETPOST('boxorder', 'aZ09');
|
||||||
$boxorder.=GETPOST('boxcombo', 'aZ09');
|
$boxorder.=GETPOST('boxcombo', 'aZ09');
|
||||||
|
|
||||||
$result=InfoBox::saveboxorder($db, $zone, $boxorder, $userid);
|
$result=InfoBox::saveboxorder($db, $zone, $boxorder, $userid);
|
||||||
if ($result > 0) setEventMessages($langs->trans("BoxAdded"), null);
|
if ($result > 0) setEventMessages($langs->trans("BoxAdded"), null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -62,181 +62,185 @@ llxHeader('', $langs->trans("AccountancyArea"));
|
|||||||
|
|
||||||
if ($conf->accounting->enabled)
|
if ($conf->accounting->enabled)
|
||||||
{
|
{
|
||||||
$resultboxes=FormOther::getBoxesArea($user, "1"); // Load $resultboxes (selectboxlist + boxactivated + boxlista + boxlistb)
|
$step = 0;
|
||||||
|
|
||||||
print load_fiche_titre($langs->trans("AccountancyArea"), $resultboxes['selectboxlist'], 'accountancy');
|
$resultboxes=FormOther::getBoxesArea($user, "1"); // Load $resultboxes (selectboxlist + boxactivated + boxlista + boxlistb)
|
||||||
|
|
||||||
// FAQ
|
print load_fiche_titre($langs->trans("AccountancyArea"), $resultboxes['selectboxlist'], 'accountancy');
|
||||||
if (empty($conf->global->ACCOUNTING_DISABLE_FAQ)) {
|
|
||||||
$step = 0;
|
|
||||||
|
|
||||||
print '<span class="opacitymedium">' . $langs->trans("AccountancyAreaDescIntro") . "</span><br>\n";
|
print '<div align="right"><a href="#" id="show_hide">';
|
||||||
print "<br>\n";
|
print img_picto('', 'chevron-down');
|
||||||
print "<br>\n";
|
print ' ' . $langs->trans("ShowFAQ");
|
||||||
print load_fiche_titre('<span class="fa fa-calendar-check-o"></span> ' . $langs->trans("AccountancyAreaDescActionOnce"),
|
print '</a></div>';
|
||||||
'', '') . "\n";
|
|
||||||
print '<hr>';
|
|
||||||
print "<br>\n";
|
|
||||||
|
|
||||||
// STEPS
|
print '<script type="text/javascript" language="javascript">
|
||||||
$step++;
|
jQuery(document).ready(function() {
|
||||||
print img_picto('', 'puce') . ' ' . $langs->trans("AccountancyAreaDescJournalSetup", $step,
|
jQuery("#show_hide").click(function () {
|
||||||
'<a href="' . DOL_URL_ROOT . '/accountancy/admin/journals_list.php?id=35">' . '<strong>' . $langs->transnoentitiesnoconv("Setup") . ' - ' . $langs->transnoentitiesnoconv("AccountingJournals") . '</strong>' . '</a>');
|
jQuery( "#idfaq" ).toggle({
|
||||||
print "<br>\n";
|
duration: 400,
|
||||||
$step++;
|
});
|
||||||
print img_picto('', 'puce') . ' ' . $langs->trans("AccountancyAreaDescChartModel", $step,
|
});
|
||||||
'<a href="' . DOL_URL_ROOT . '/accountancy/admin/accountmodel.php">' . '<strong>' . $langs->transnoentitiesnoconv("Setup") . ' - ' . $langs->transnoentitiesnoconv("Pcg_version") . '</strong>' . '</a>');
|
});
|
||||||
print "<br>\n";
|
</script>';
|
||||||
$step++;
|
|
||||||
print img_picto('', 'puce') . ' ' . $langs->trans("AccountancyAreaDescChart", $step,
|
|
||||||
'<a href="' . DOL_URL_ROOT . '/accountancy/admin/account.php">' . '<strong>' . $langs->transnoentitiesnoconv("Setup") . ' - ' . $langs->transnoentitiesnoconv("Chartofaccounts") . '</strong>' . '</a>');
|
|
||||||
print "<br>\n";
|
|
||||||
|
|
||||||
print "<br>\n";
|
print '<div class="hideobject" id="idfaq">'; // hideobject is to start hidden
|
||||||
print $langs->trans("AccountancyAreaDescActionOnceBis");
|
print "<br>\n";
|
||||||
print "<br>\n";
|
print '<span class="opacitymedium">'.$langs->trans("AccountancyAreaDescIntro")."</span><br>\n";
|
||||||
print "<br>\n";
|
print "<br>\n";print "<br>\n";
|
||||||
|
|
||||||
$step++;
|
print load_fiche_titre('<span class="fa fa-calendar-check-o"></span> '.$langs->trans("AccountancyAreaDescActionOnce"), '', '')."\n";
|
||||||
print img_picto('', 'puce') . ' ' . $langs->trans("AccountancyAreaDescDefault", $step,
|
print '<hr>';
|
||||||
'<a href="' . DOL_URL_ROOT . '/accountancy/admin/defaultaccounts.php">' . '<strong>' . $langs->transnoentitiesnoconv("Setup") . ' - ' . $langs->transnoentitiesnoconv("MenuDefaultAccounts") . '</strong>' . '</a>');
|
print "<br>\n";
|
||||||
print "<br>\n";
|
|
||||||
|
|
||||||
$step++;
|
// STEPS
|
||||||
print img_picto('', 'puce') . ' ' . $langs->trans("AccountancyAreaDescBank", $step,
|
$step++;
|
||||||
'<a href="' . DOL_URL_ROOT . '/compta/bank/list.php">' . '<strong>' . $langs->transnoentitiesnoconv("Setup") . ' - ' . $langs->transnoentitiesnoconv("MenuBankAccounts") . '</strong>' . '</a>') . "\n";
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescJournalSetup", $step, '<a href="'.DOL_URL_ROOT.'/accountancy/admin/journals_list.php?id=35">'.'<strong>'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("AccountingJournals").'</strong>'.'</a>');
|
||||||
print "<br>\n";
|
print "<br>\n";
|
||||||
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescChartModel", $step, '<a href="'.DOL_URL_ROOT.'/accountancy/admin/accountmodel.php">'.'<strong>'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("Pcg_version").'</strong>'.'</a>');
|
||||||
|
print "<br>\n";
|
||||||
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescChart", $step, '<a href="'.DOL_URL_ROOT.'/accountancy/admin/account.php">'.'<strong>'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("Chartofaccounts").'</strong>'.'</a>');
|
||||||
|
print "<br>\n";
|
||||||
|
|
||||||
$step++;
|
print "<br>\n";
|
||||||
$textlink = '<a href="' . DOL_URL_ROOT . '/admin/dict.php?id=10&from=accountancy">' . '<strong>' . $langs->transnoentitiesnoconv("Setup") . ' - ' . $langs->transnoentitiesnoconv("MenuVatAccounts") . '</strong>' . '</a>';
|
print $langs->trans("AccountancyAreaDescActionOnceBis");
|
||||||
print img_picto('', 'puce') . ' ' . $langs->trans("AccountancyAreaDescVat", $step, $textlink);
|
print "<br>\n";
|
||||||
print "<br>\n";
|
print "<br>\n";
|
||||||
if (!empty($conf->tax->enabled)) {
|
|
||||||
$textlink = '<a href="' . DOL_URL_ROOT . '/admin/dict.php?id=7&from=accountancy">' . '<strong>' . $langs->transnoentitiesnoconv("Setup") . ' - ' . $langs->transnoentitiesnoconv("MenuTaxAccounts") . '</strong>' . '</a>';
|
|
||||||
$step++;
|
|
||||||
print img_picto('', 'puce') . ' ' . $langs->trans("AccountancyAreaDescContrib", $step, $textlink);
|
|
||||||
print "<br>\n";
|
|
||||||
}
|
|
||||||
/*if (! empty($conf->salaries->enabled))
|
|
||||||
{
|
|
||||||
$step++;
|
|
||||||
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescSal", $step, '<strong>'.$langs->transnoentitiesnoconv("MenuFinancial").'-'.$langs->transnoentitiesnoconv("MenuAccountancy").' - '.$langs->transnoentitiesnoconv("MenuDefaultAccounts").'</strong>');
|
|
||||||
// htdocs/admin/salaries.php
|
|
||||||
print "<br>\n";
|
|
||||||
print "<br>\n";
|
|
||||||
}*/
|
|
||||||
if (!empty($conf->expensereport->enabled)) // TODO Move this in the default account page because this is only one accounting account per purpose, not several.
|
|
||||||
{
|
|
||||||
$step++;
|
|
||||||
print img_picto('', 'puce') . ' ' . $langs->trans("AccountancyAreaDescExpenseReport", $step,
|
|
||||||
'<a href="' . DOL_URL_ROOT . '/admin/dict.php?id=17&from=accountancy">' . '<strong>' . $langs->transnoentitiesnoconv("Setup") . ' - ' . $langs->transnoentitiesnoconv("MenuExpenseReportAccounts") . '</strong>' . '</a>');
|
|
||||||
print "<br>\n";
|
|
||||||
}
|
|
||||||
/*
|
|
||||||
if (! empty($conf->loan->enabled))
|
|
||||||
{
|
|
||||||
$step++;
|
|
||||||
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescLoan", $step, '<strong>'.$langs->transnoentitiesnoconv("MenuSpecialExpenses").' - '.$langs->transnoentitiesnoconv("Loans").'</strong> '.$langs->transnoentitiesnoconv("or").' <strong>'.$langs->transnoentitiesnoconv("MenuFinancial").'-'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("MenuDefaultAccounts").'</strong>');
|
|
||||||
print "<br>\n";
|
|
||||||
}
|
|
||||||
if (! empty($conf->don->enabled))
|
|
||||||
{
|
|
||||||
$step++;
|
|
||||||
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescDonation", $step, '<strong>'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("MenuDefaultAccounts").'</strong>');
|
|
||||||
print "<br>\n";
|
|
||||||
}
|
|
||||||
if (! empty($conf->adherents->enabled))
|
|
||||||
{
|
|
||||||
$step++;
|
|
||||||
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescSubscription", $step, '<strong>'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("MenuDefaultAccounts").'</strong>');
|
|
||||||
print "<br>\n";
|
|
||||||
}*/
|
|
||||||
|
|
||||||
$step++;
|
$step++;
|
||||||
print img_picto('', 'puce') . ' ' . $langs->trans("AccountancyAreaDescProd", $step,
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescDefault", $step, '<a href="'.DOL_URL_ROOT.'/accountancy/admin/defaultaccounts.php">'.'<strong>'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("MenuDefaultAccounts").'</strong>'.'</a>');
|
||||||
'<a href="' . DOL_URL_ROOT . '/accountancy/admin/productaccount.php">' . '<strong>' . $langs->transnoentitiesnoconv("Setup") . ' - ' . $langs->transnoentitiesnoconv("ProductsBinding") . '</strong>' . '</a>');
|
print "<br>\n";
|
||||||
print "<br>\n";
|
|
||||||
|
|
||||||
print '<br>';
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescBank", $step, '<a href="'.DOL_URL_ROOT.'/compta/bank/list.php">'.'<strong>'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("MenuBankAccounts").'</strong>'.'</a>')."\n";
|
||||||
|
print "<br>\n";
|
||||||
|
|
||||||
// Step A - E
|
$step++;
|
||||||
|
$textlink = '<a href="'.DOL_URL_ROOT.'/admin/dict.php?id=10&from=accountancy">'.'<strong>'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("MenuVatAccounts").'</strong>'.'</a>';
|
||||||
print "<br>\n";
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescVat", $step, $textlink);
|
||||||
print load_fiche_titre('<span class="fa fa-calendar"></span> ' . $langs->trans("AccountancyAreaDescActionFreq"),
|
print "<br>\n";
|
||||||
'', '');
|
if (! empty($conf->tax->enabled))
|
||||||
print '<hr>';
|
|
||||||
print "<br>\n";
|
|
||||||
$step = 0;
|
|
||||||
|
|
||||||
$langs->loadLangs(array('bills', 'trips'));
|
|
||||||
|
|
||||||
$step++;
|
|
||||||
print img_picto('', 'puce') . ' ' . $langs->trans("AccountancyAreaDescBind", chr(64 + $step),
|
|
||||||
$langs->transnoentitiesnoconv("BillsCustomers"),
|
|
||||||
'<a href="' . DOL_URL_ROOT . '/accountancy/customer/index.php">' . '<strong>' . $langs->transnoentitiesnoconv("TransferInAccounting") . ' - ' . $langs->transnoentitiesnoconv("CustomersVentilation") . '</strong>' . '</a>') . "\n";
|
|
||||||
print "<br>\n";
|
|
||||||
|
|
||||||
$step++;
|
|
||||||
print img_picto('', 'puce') . ' ' . $langs->trans("AccountancyAreaDescBind", chr(64 + $step),
|
|
||||||
$langs->transnoentitiesnoconv("BillsSuppliers"),
|
|
||||||
'<a href="' . DOL_URL_ROOT . '/accountancy/supplier/index.php">' . '<strong>' . $langs->transnoentitiesnoconv("TransferInAccounting") . ' - ' . $langs->transnoentitiesnoconv("SuppliersVentilation") . '</strong>' . '</a>') . "\n";
|
|
||||||
print "<br>\n";
|
|
||||||
|
|
||||||
if (!empty($conf->expensereport->enabled) || !empty($conf->deplacement->enabled)) {
|
|
||||||
$step++;
|
|
||||||
print img_picto('', 'puce') . ' ' . $langs->trans("AccountancyAreaDescBind", chr(64 + $step),
|
|
||||||
$langs->transnoentitiesnoconv("ExpenseReports"),
|
|
||||||
'<a href="' . DOL_URL_ROOT . '/accountancy/expensereport/index.php">' . '<strong>' . $langs->transnoentitiesnoconv("TransferInAccounting") . ' - ' . $langs->transnoentitiesnoconv("ExpenseReportsVentilation") . '</strong>' . '</a>') . "\n";
|
|
||||||
print "<br>\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
$step++;
|
|
||||||
print img_picto('', 'puce') . ' ' . $langs->trans("AccountancyAreaDescWriteRecords", chr(64 + $step),
|
|
||||||
$langs->transnoentitiesnoconv("TransferInAccounting") . ' - ' . $langs->transnoentitiesnoconv("RegistrationInAccounting"),
|
|
||||||
$langs->transnoentitiesnoconv("WriteBookKeeping")) . "\n";
|
|
||||||
print "<br>\n";
|
|
||||||
|
|
||||||
$step++;
|
|
||||||
print img_picto('', 'puce') . ' ' . $langs->trans("AccountancyAreaDescAnalyze", chr(64 + $step)) . "<br>\n";
|
|
||||||
print "<br>\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
print '<div class="clearboth"></div>';
|
|
||||||
|
|
||||||
print '<div class="fichecenter fichecenterbis">';
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Show boxes
|
|
||||||
*/
|
|
||||||
$boxlist.='<div class="twocolumns">';
|
|
||||||
|
|
||||||
$boxlist.='<div class="firstcolumn fichehalfleft boxhalfleft" id="boxhalfleft">';
|
|
||||||
if(!empty($nbworkboardcount))
|
|
||||||
{
|
{
|
||||||
$boxlist.=$boxwork;
|
$textlink = '<a href="'.DOL_URL_ROOT.'/admin/dict.php?id=7&from=accountancy">'.'<strong>'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("MenuTaxAccounts").'</strong>'.'</a>';
|
||||||
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescContrib", $step, $textlink);
|
||||||
|
print "<br>\n";
|
||||||
|
}
|
||||||
|
/*if (! empty($conf->salaries->enabled))
|
||||||
|
{
|
||||||
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescSal", $step, '<strong>'.$langs->transnoentitiesnoconv("MenuFinancial").'-'.$langs->transnoentitiesnoconv("MenuAccountancy").' - '.$langs->transnoentitiesnoconv("MenuDefaultAccounts").'</strong>');
|
||||||
|
// htdocs/admin/salaries.php
|
||||||
|
print "<br>\n";
|
||||||
|
print "<br>\n";
|
||||||
|
}*/
|
||||||
|
if (! empty($conf->expensereport->enabled)) // TODO Move this in the default account page because this is only one accounting account per purpose, not several.
|
||||||
|
{
|
||||||
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescExpenseReport", $step, '<a href="'.DOL_URL_ROOT.'/admin/dict.php?id=17&from=accountancy">'.'<strong>'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("MenuExpenseReportAccounts").'</strong>'.'</a>');
|
||||||
|
print "<br>\n";
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
if (! empty($conf->loan->enabled))
|
||||||
|
{
|
||||||
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescLoan", $step, '<strong>'.$langs->transnoentitiesnoconv("MenuSpecialExpenses").' - '.$langs->transnoentitiesnoconv("Loans").'</strong> '.$langs->transnoentitiesnoconv("or").' <strong>'.$langs->transnoentitiesnoconv("MenuFinancial").'-'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("MenuDefaultAccounts").'</strong>');
|
||||||
|
print "<br>\n";
|
||||||
|
}
|
||||||
|
if (! empty($conf->don->enabled))
|
||||||
|
{
|
||||||
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescDonation", $step, '<strong>'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("MenuDefaultAccounts").'</strong>');
|
||||||
|
print "<br>\n";
|
||||||
|
}
|
||||||
|
if (! empty($conf->adherents->enabled))
|
||||||
|
{
|
||||||
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescSubscription", $step, '<strong>'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("MenuDefaultAccounts").'</strong>');
|
||||||
|
print "<br>\n";
|
||||||
|
}*/
|
||||||
|
|
||||||
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescProd", $step, '<a href="'.DOL_URL_ROOT.'/accountancy/admin/productaccount.php">'.'<strong>'.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("ProductsBinding").'</strong>'.'</a>');
|
||||||
|
print "<br>\n";
|
||||||
|
|
||||||
|
|
||||||
|
print '<br>';
|
||||||
|
|
||||||
|
// Step A - E
|
||||||
|
|
||||||
|
print "<br>\n";
|
||||||
|
print load_fiche_titre('<span class="fa fa-calendar"></span> '.$langs->trans("AccountancyAreaDescActionFreq"), '', '');
|
||||||
|
print '<hr>';
|
||||||
|
print "<br>\n";
|
||||||
|
$step = 0;
|
||||||
|
|
||||||
|
$langs->loadLangs(array('bills', 'trips'));
|
||||||
|
|
||||||
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescBind", chr(64+$step), $langs->transnoentitiesnoconv("BillsCustomers"), '<a href="'.DOL_URL_ROOT.'/accountancy/customer/index.php">'.'<strong>'.$langs->transnoentitiesnoconv("TransferInAccounting").' - '.$langs->transnoentitiesnoconv("CustomersVentilation").'</strong>'.'</a>')."\n";
|
||||||
|
print "<br>\n";
|
||||||
|
|
||||||
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescBind", chr(64+$step), $langs->transnoentitiesnoconv("BillsSuppliers"), '<a href="'.DOL_URL_ROOT.'/accountancy/supplier/index.php">'.'<strong>'.$langs->transnoentitiesnoconv("TransferInAccounting").' - '.$langs->transnoentitiesnoconv("SuppliersVentilation").'</strong>'.'</a>')."\n";
|
||||||
|
print "<br>\n";
|
||||||
|
|
||||||
|
if (! empty($conf->expensereport->enabled) || ! empty($conf->deplacement->enabled))
|
||||||
|
{
|
||||||
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescBind", chr(64+$step), $langs->transnoentitiesnoconv("ExpenseReports"), '<a href="'.DOL_URL_ROOT.'/accountancy/expensereport/index.php">'.'<strong>'.$langs->transnoentitiesnoconv("TransferInAccounting").' - '.$langs->transnoentitiesnoconv("ExpenseReportsVentilation").'</strong>'.'</a>')."\n";
|
||||||
|
print "<br>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
$boxlist.=$resultboxes['boxlista'];
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescWriteRecords", chr(64+$step), $langs->transnoentitiesnoconv("TransferInAccounting").' - '.$langs->transnoentitiesnoconv("RegistrationInAccounting"), $langs->transnoentitiesnoconv("WriteBookKeeping"))."\n";
|
||||||
|
print "<br>\n";
|
||||||
|
|
||||||
$boxlist.= '</div>';
|
$step++;
|
||||||
|
print img_picto('', 'puce').' '.$langs->trans("AccountancyAreaDescAnalyze", chr(64+$step))."<br>\n";
|
||||||
$boxlist.= '<div class="secondcolumn fichehalfright boxhalfright" id="boxhalfright">';
|
print "<br>\n";
|
||||||
|
|
||||||
$boxlist.=$boxstat;
|
|
||||||
$boxlist.=$resultboxes['boxlistb'];
|
|
||||||
|
|
||||||
$boxlist.= '</div>';
|
|
||||||
$boxlist.= "\n";
|
|
||||||
|
|
||||||
$boxlist.='</div>';
|
|
||||||
|
|
||||||
|
|
||||||
print $boxlist;
|
|
||||||
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
|
print '<div class="clearboth"></div>';
|
||||||
|
|
||||||
|
print '<div class="fichecenter fichecenterbis">';
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Show boxes
|
||||||
|
*/
|
||||||
|
$boxlist.='<div class="twocolumns">';
|
||||||
|
|
||||||
|
$boxlist.='<div class="firstcolumn fichehalfleft boxhalfleft" id="boxhalfleft">';
|
||||||
|
if(!empty($nbworkboardcount))
|
||||||
|
{
|
||||||
|
$boxlist.=$boxwork;
|
||||||
|
}
|
||||||
|
|
||||||
|
$boxlist.=$resultboxes['boxlista'];
|
||||||
|
|
||||||
|
$boxlist.= '</div>';
|
||||||
|
|
||||||
|
$boxlist.= '<div class="secondcolumn fichehalfright boxhalfright" id="boxhalfright">';
|
||||||
|
|
||||||
|
$boxlist.=$boxstat;
|
||||||
|
$boxlist.=$resultboxes['boxlistb'];
|
||||||
|
|
||||||
|
$boxlist.= '</div>';
|
||||||
|
$boxlist.= "\n";
|
||||||
|
|
||||||
|
$boxlist.='</div>';
|
||||||
|
|
||||||
|
|
||||||
|
print $boxlist;
|
||||||
|
|
||||||
|
print '</div>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
print load_fiche_titre($langs->trans("AccountancyArea"), '', 'accountancy');
|
||||||
|
|
||||||
print $langs->trans("Module10Desc")."<br>\n";
|
print $langs->trans("Module10Desc")."<br>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -257,6 +257,7 @@ ListOfProductsWithoutAccountingAccount=List of products not bound to any account
|
|||||||
ChangeBinding=Change the binding
|
ChangeBinding=Change the binding
|
||||||
Accounted=Accounted in ledger
|
Accounted=Accounted in ledger
|
||||||
NotYetAccounted=Not yet accounted in ledger
|
NotYetAccounted=Not yet accounted in ledger
|
||||||
|
ShowFAQ=Show FAQ
|
||||||
|
|
||||||
## Admin
|
## Admin
|
||||||
ApplyMassCategories=Apply mass categories
|
ApplyMassCategories=Apply mass categories
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user