mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-23 09:51:33 +01:00
Mutualize code of 2 lists into one page.
This commit is contained in:
@@ -33,6 +33,7 @@ require('../../main.inc.php');
|
|||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php';
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
|
||||||
@@ -42,7 +43,6 @@ require_once DOL_DOCUMENT_ROOT.'/don/class/don.class.php';
|
|||||||
require_once DOL_DOCUMENT_ROOT.'/expensereport/class/expensereport.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/expensereport/class/expensereport.class.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/loan/class/loan.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/loan/class/loan.class.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/fourn/class/paiementfourn.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/fourn/class/paiementfourn.class.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
|
|
||||||
|
|
||||||
$langs->load("banks");
|
$langs->load("banks");
|
||||||
$langs->load("categories");
|
$langs->load("categories");
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ if (!empty($id))
|
|||||||
{
|
{
|
||||||
if (! preg_match('/,/', $id))
|
if (! preg_match('/,/', $id))
|
||||||
{
|
{
|
||||||
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref);
|
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref, '', 0, '', '', 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/compta/bank/search.php
|
* \file htdocs/compta/bank/bankentries.php
|
||||||
* \ingroup banque
|
* \ingroup banque
|
||||||
* \brief List of bank transactions
|
* \brief List of bank transactions
|
||||||
*/
|
*/
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
require('../../main.inc.php');
|
require('../../main.inc.php');
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/bankcateg.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/bankcateg.class.php';
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
|
||||||
@@ -48,10 +49,31 @@ $langs->load("bills");
|
|||||||
$langs->load("categories");
|
$langs->load("categories");
|
||||||
$langs->load("companies");
|
$langs->load("companies");
|
||||||
$langs->load("margins");
|
$langs->load("margins");
|
||||||
|
$langs->load("salaries");
|
||||||
|
$langs->load("loan");
|
||||||
|
$langs->load("donations");
|
||||||
|
$langs->load("trips");
|
||||||
|
$langs->load("members");
|
||||||
|
|
||||||
|
$id = GETPOST('id','int');
|
||||||
|
$ref = GETPOST('ref','alpha');
|
||||||
|
$action=GETPOST('action','alpha');
|
||||||
|
$cancel=GETPOST('cancel','alpha');
|
||||||
|
$confirm=GETPOST('confirm','alpha');
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
if ($user->societe_id) $socid=$user->societe_id;
|
$fieldvalue = (! empty($id) ? $id : (! empty($ref) ? $ref :''));
|
||||||
$result=restrictedArea($user,'banque');
|
$fieldtype = (! empty($ref) ? 'ref' :'rowid');
|
||||||
|
if ($fielvalue)
|
||||||
|
{
|
||||||
|
if ($user->societe_id) $socid=$user->societe_id;
|
||||||
|
$result=restrictedArea($user,'banque',$fieldvalue,'bank_account&bank_account','','',$fieldtype);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ($user->societe_id) $socid=$user->societe_id;
|
||||||
|
$result=restrictedArea($user,'banque');
|
||||||
|
}
|
||||||
|
|
||||||
$search_ref=GETPOST('search_ref','alpha');
|
$search_ref=GETPOST('search_ref','alpha');
|
||||||
$description=GETPOST("description",'alpha');
|
$description=GETPOST("description",'alpha');
|
||||||
@@ -90,11 +112,20 @@ if (($sortfield == 'b.datev' || $sortfield == 'b.datev, b.dateo, b.rowid') && $a
|
|||||||
if (strtolower($sortorder) == 'desc') $mode_balance_ok = false;
|
if (strtolower($sortorder) == 'desc') $mode_balance_ok = false;
|
||||||
|
|
||||||
|
|
||||||
|
$object = new Account($db);
|
||||||
|
if ($id > 0 || ! empty($ref))
|
||||||
|
{
|
||||||
|
$result=$object->fetch($id, $ref);
|
||||||
|
$account = $object->id; // Force the search field on id of account
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Initialize technical object to manage context to save list fields
|
// Initialize technical object to manage context to save list fields
|
||||||
$contextpage='banktransactionlist';
|
$contextpage='banktransactionlist'.(empty($object->ref)?'':'-'.$object->id);
|
||||||
|
//var_dump($contextpage);
|
||||||
|
|
||||||
// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
|
// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
|
||||||
$hookmanager->initHooks(array($contextpage));
|
$hookmanager->initHooks(array('banktransactionlist', $contextpage));
|
||||||
$extrafields = new ExtraFields($db);
|
$extrafields = new ExtraFields($db);
|
||||||
|
|
||||||
// fetch optionals attributes and labels
|
// fetch optionals attributes and labels
|
||||||
@@ -109,7 +140,7 @@ $arrayfields=array(
|
|||||||
'type'=>array('label'=>$langs->trans("Type"), 'checked'=>1),
|
'type'=>array('label'=>$langs->trans("Type"), 'checked'=>1),
|
||||||
'b.num_chq'=>array('label'=>$langs->trans("Numero"), 'checked'=>1),
|
'b.num_chq'=>array('label'=>$langs->trans("Numero"), 'checked'=>1),
|
||||||
'bu.label'=>array('label'=>$langs->trans("ThirdParty"), 'checked'=>1, 'position'=>500),
|
'bu.label'=>array('label'=>$langs->trans("ThirdParty"), 'checked'=>1, 'position'=>500),
|
||||||
'ba.ref'=>array('label'=>$langs->trans("BankAccount"), 'checked'=>1, 'position'=>1000),
|
'ba.ref'=>array('label'=>$langs->trans("BankAccount"), 'checked'=>(($id > 0 || ! empty($ref))?0:1), 'position'=>1000),
|
||||||
'b.debit'=>array('label'=>$langs->trans("Debit"), 'checked'=>1, 'position'=>600),
|
'b.debit'=>array('label'=>$langs->trans("Debit"), 'checked'=>1, 'position'=>600),
|
||||||
'b.credit'=>array('label'=>$langs->trans("Credit"), 'checked'=>1, 'position'=>605),
|
'b.credit'=>array('label'=>$langs->trans("Credit"), 'checked'=>1, 'position'=>605),
|
||||||
'balance'=>array('label'=>$langs->trans("Balance"), 'checked'=>1, 'position'=>1000),
|
'balance'=>array('label'=>$langs->trans("Balance"), 'checked'=>1, 'position'=>1000),
|
||||||
@@ -166,6 +197,69 @@ if (empty($reshook))
|
|||||||
include DOL_DOCUMENT_ROOT.'/core/actions_massactions.inc.php';
|
include DOL_DOCUMENT_ROOT.'/core/actions_massactions.inc.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$dateop=-1;
|
||||||
|
|
||||||
|
if (GETPOST('save') && $id && ! $cancel && $user->rights->banque->modifier)
|
||||||
|
{
|
||||||
|
$error = 0;
|
||||||
|
|
||||||
|
if (price2num($_POST["addcredit"]) > 0)
|
||||||
|
{
|
||||||
|
$amount = price2num($_POST["addcredit"]);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$amount = - price2num($_POST["adddebit"]);
|
||||||
|
}
|
||||||
|
|
||||||
|
$dateop = dol_mktime(12,0,0,$_POST["opmonth"],$_POST["opday"],$_POST["opyear"]);
|
||||||
|
$operation=$_POST["operation"];
|
||||||
|
$num_chq=$_POST["num_chq"];
|
||||||
|
$label=$_POST["label"];
|
||||||
|
$cat1=$_POST["cat1"];
|
||||||
|
|
||||||
|
if (! $dateop) {
|
||||||
|
$error++;
|
||||||
|
setEventMessages($langs->trans("ErrorFieldRequired", $langs->trans("Date")), null, 'errors');
|
||||||
|
}
|
||||||
|
if (! $operation) {
|
||||||
|
$error++;
|
||||||
|
setEventMessages($langs->trans("ErrorFieldRequired", $langs->trans("Type")), null, 'errors');
|
||||||
|
}
|
||||||
|
if (! $amount) {
|
||||||
|
$error++;
|
||||||
|
setEventMessages($langs->trans("ErrorFieldRequired", $langs->trans("Amount")), null, 'errors');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (! $error)
|
||||||
|
{
|
||||||
|
$object->fetch($id);
|
||||||
|
$insertid = $object->addline($dateop, $operation, $label, $amount, $num_chq, $cat1, $user);
|
||||||
|
if ($insertid > 0)
|
||||||
|
{
|
||||||
|
setEventMessages($langs->trans("RecordSaved"), null, 'mesgs');
|
||||||
|
header("Location: ".$_SERVER['PHP_SELF']."?id=".$id);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
setEventMessages($object->error, $object->errors, 'errors');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$action='addline';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($action == 'confirm_delete' && $confirm == 'yes' && $user->rights->banque->modifier)
|
||||||
|
{
|
||||||
|
$accline=new AccountLine($db);
|
||||||
|
$result=$accline->fetch(GETPOST("rowid"));
|
||||||
|
$result=$accline->delete($user);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* View
|
* View
|
||||||
@@ -193,7 +287,74 @@ $banklinestatic=new AccountLine($db);
|
|||||||
|
|
||||||
$now = dol_now();
|
$now = dol_now();
|
||||||
|
|
||||||
llxHeader('', $langs->trans("BankTransactions"), '', '', 0, 0, array(), array(), $param);
|
|
||||||
|
|
||||||
|
if ($id > 0 || ! empty($ref))
|
||||||
|
{
|
||||||
|
$title = $langs->trans("FinancialAccount").' - '.$langs->trans("Transactions");
|
||||||
|
$helpurl = "";
|
||||||
|
llxHeader('',$title,$helpurl);
|
||||||
|
|
||||||
|
// Load bank groups
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/bankcateg.class.php';
|
||||||
|
$bankcateg = new BankCateg($db);
|
||||||
|
$options = array();
|
||||||
|
|
||||||
|
foreach ($bankcateg->fetchAll() as $bankcategory) {
|
||||||
|
$options[$bankcategory->id] = $bankcategory->label;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Onglets
|
||||||
|
$head=bank_prepare_head($object);
|
||||||
|
dol_fiche_head($head,'journal',$langs->trans("FinancialAccount"),0,'account');
|
||||||
|
|
||||||
|
$linkback = '<a href="'.DOL_URL_ROOT.'/compta/bank/index.php">'.$langs->trans("BackToList").'</a>';
|
||||||
|
|
||||||
|
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref, '', 0, '', '', 1);
|
||||||
|
|
||||||
|
dol_fiche_end();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Buttons actions
|
||||||
|
*/
|
||||||
|
|
||||||
|
//if ($action != 'delete')
|
||||||
|
//{
|
||||||
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
|
if ($action != 'addline')
|
||||||
|
{
|
||||||
|
if (empty($conf->global->BANK_DISABLE_DIRECT_INPUT))
|
||||||
|
{
|
||||||
|
if ($user->rights->banque->modifier) {
|
||||||
|
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=addline&id='.$object->id.'&page='.$page.($vline?'&vline='.$vline:'').'">'.$langs->trans("AddBankRecord").'</a>';
|
||||||
|
} else {
|
||||||
|
print '<a class="butActionRefused" title="'.$langs->trans("NotEnoughPermissions").'" href="#">'.$langs->trans("AddBankRecord").'</a>';
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
print '<a class="butActionRefused" title="'.$langs->trans("FeatureDisabled").'" href="#">'.$langs->trans("AddBankRecord").'</a>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($object->canBeConciliated() > 0) {
|
||||||
|
// If not cash account and can be reconciliate
|
||||||
|
if ($user->rights->banque->consolidate) {
|
||||||
|
print '<a class="butAction" href="'.DOL_URL_ROOT.'/compta/bank/rappro.php?account='.$object->id.($vline ? '&vline='.$vline : '').'">'.$langs->trans("Conciliate").'</a>';
|
||||||
|
} else {
|
||||||
|
print '<a class="butActionRefused" title="'.$langs->trans("NotEnoughPermissions").'" href="#">'.$langs->trans("Conciliate").'</a>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
print '</div>';
|
||||||
|
//}
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
llxHeader('', $langs->trans("BankTransactions"), '', '', 0, 0, array(), array(), $param);
|
||||||
|
}
|
||||||
|
|
||||||
$sql = "SELECT b.rowid, b.dateo as do, b.datev as dv, b.amount, b.label, b.rappro, b.num_releve, b.num_chq,";
|
$sql = "SELECT b.rowid, b.dateo as do, b.datev as dv, b.amount, b.label, b.rappro, b.num_releve, b.num_chq,";
|
||||||
$sql.= " b.fk_account, b.fk_type,";
|
$sql.= " b.fk_account, b.fk_type,";
|
||||||
@@ -261,7 +422,7 @@ if (empty($conf->global->MAIN_DISABLE_FULL_SCANLIST))
|
|||||||
|
|
||||||
$sql.= $db->plimit($limit+1,$offset);
|
$sql.= $db->plimit($limit+1,$offset);
|
||||||
|
|
||||||
dol_syslog('compta/bank/search.php::', LOG_DEBUG);
|
dol_syslog('compta/bank/bankentries.php', LOG_DEBUG);
|
||||||
$resql = $db->query($sql);
|
$resql = $db->query($sql);
|
||||||
if ($resql)
|
if ($resql)
|
||||||
{
|
{
|
||||||
@@ -273,6 +434,8 @@ if ($resql)
|
|||||||
$param='';
|
$param='';
|
||||||
if (! empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) $param.='&contextpage='.$contextpage;
|
if (! empty($contextpage) && $contextpage != $_SERVER["PHP_SELF"]) $param.='&contextpage='.$contextpage;
|
||||||
if ($limit > 0 && $limit != $conf->liste_limit) $param.='&limit='.$limit;
|
if ($limit > 0 && $limit != $conf->liste_limit) $param.='&limit='.$limit;
|
||||||
|
if ($id > 0) $param.='&id='.urlencode($id);
|
||||||
|
if (!empty($ref)) $param.='&ref='.urlencode($ref);
|
||||||
if (!empty($search_ref)) $param.='&search_ref='.urlencode($search_ref);
|
if (!empty($search_ref)) $param.='&search_ref='.urlencode($search_ref);
|
||||||
if (!empty($description)) $param.='&description='.urlencode($description);
|
if (!empty($description)) $param.='&description='.urlencode($description);
|
||||||
if (!empty($type)) $param.='&type='.urlencode($type);
|
if (!empty($type)) $param.='&type='.urlencode($type);
|
||||||
@@ -303,6 +466,15 @@ if ($resql)
|
|||||||
if ($massaction == 'presend') $arrayofmassactions=array();
|
if ($massaction == 'presend') $arrayofmassactions=array();
|
||||||
$massactionbutton=$form->selectMassAction('', $arrayofmassactions);
|
$massactionbutton=$form->selectMassAction('', $arrayofmassactions);
|
||||||
|
|
||||||
|
|
||||||
|
// Confirmation delete
|
||||||
|
if ($action == 'delete')
|
||||||
|
{
|
||||||
|
$text=$langs->trans('ConfirmDeleteTransaction');
|
||||||
|
print $form->formconfirm($_SERVER['PHP_SELF'].'?id='.$object->id.'&rowid='.GETPOST("rowid"), $langs->trans('DeleteTransaction'), $text, 'confirm_delete', null, '', 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Lines of title fields
|
// Lines of title fields
|
||||||
print '<form method="post" action="'.$_SERVER["PHP_SELF"].'" name="search_form">'."\n";
|
print '<form method="post" action="'.$_SERVER["PHP_SELF"].'" name="search_form">'."\n";
|
||||||
if ($optioncss != '') print '<input type="hidden" name="optioncss" value="'.$optioncss.'">';
|
if ($optioncss != '') print '<input type="hidden" name="optioncss" value="'.$optioncss.'">';
|
||||||
@@ -312,8 +484,55 @@ if ($resql)
|
|||||||
print '<input type="hidden" name="view" value="'.dol_escape_htmltag($view).'">';
|
print '<input type="hidden" name="view" value="'.dol_escape_htmltag($view).'">';
|
||||||
print '<input type="hidden" name="sortfield" value="'.$sortfield.'">';
|
print '<input type="hidden" name="sortfield" value="'.$sortfield.'">';
|
||||||
print '<input type="hidden" name="sortorder" value="'.$sortorder.'">';
|
print '<input type="hidden" name="sortorder" value="'.$sortorder.'">';
|
||||||
|
print '<input type="hidden" name="id" value="'.$id.'">';
|
||||||
|
print '<input type="hidden" name="ref" value="'.$ref.'">';
|
||||||
if (! empty($_REQUEST['bid'])) print '<input type="hidden" name="bid" value="'.$_REQUEST["bid"].'">';
|
if (! empty($_REQUEST['bid'])) print '<input type="hidden" name="bid" value="'.$_REQUEST["bid"].'">';
|
||||||
|
|
||||||
|
|
||||||
|
// Form to add a transaction with no invoice
|
||||||
|
if ($user->rights->banque->modifier && $action == 'addline')
|
||||||
|
{
|
||||||
|
print load_fiche_titre($langs->trans("AddBankRecordLong"),'','');
|
||||||
|
|
||||||
|
print '<table class="noborder" width="100%">';
|
||||||
|
print '<tr class="liste_titre">';
|
||||||
|
print '<td>'.$langs->trans("Date").'</td>';
|
||||||
|
print '<td> </td>';
|
||||||
|
print '<td>'.$langs->trans("Type").'</td>';
|
||||||
|
print '<td>'.$langs->trans("Numero").'</td>';
|
||||||
|
print '<td colspan="2">'.$langs->trans("Description").'</td>';
|
||||||
|
print '<td align=right>'.$langs->trans("Debit").'</td>';
|
||||||
|
print '<td align=right>'.$langs->trans("Credit").'</td>';
|
||||||
|
print '<td colspan="2" align="center"> </td>';
|
||||||
|
print '</tr>';
|
||||||
|
|
||||||
|
print '<tr '.$bc[false].'>';
|
||||||
|
print '<td class="nowrap" colspan="2">';
|
||||||
|
$form->select_date($dateop,'op',0,0,0,'transaction');
|
||||||
|
print '</td>';
|
||||||
|
print '<td class="nowrap">';
|
||||||
|
$form->select_types_paiements((GETPOST('operation')?GETPOST('operation'):($object->courant == Account::TYPE_CASH ? 'LIQ' : '')),'operation','1,2',2,1);
|
||||||
|
print '</td><td>';
|
||||||
|
print '<input name="num_chq" class="flat" type="text" size="4" value="'.GETPOST("num_chq").'"></td>';
|
||||||
|
print '<td colspan="2">';
|
||||||
|
print '<input name="label" class="flat" type="text" size="24" value="'.GETPOST("label").'">';
|
||||||
|
if ($options) {
|
||||||
|
print '<br>'.$langs->trans("Rubrique").': ';
|
||||||
|
print Form::selectarray('cat1', $options, GETPOST('cat1'), 1);
|
||||||
|
}
|
||||||
|
print '</td>';
|
||||||
|
print '<td align=right><input name="adddebit" class="flat" type="text" size="4" value="'.GETPOST("adddebit").'"></td>';
|
||||||
|
print '<td align=right><input name="addcredit" class="flat" type="text" size="4" value="'.GETPOST("addcredit").'"></td>';
|
||||||
|
print '<td colspan="2" align="center">';
|
||||||
|
print '<input type="submit" name="save" class="button" value="'.$langs->trans("Add").'"><br>';
|
||||||
|
print '<input type="submit" name="cancel" class="button" value="'.$langs->trans("Cancel").'">';
|
||||||
|
print '</td></tr>';
|
||||||
|
print '</table>';
|
||||||
|
print '<br>';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
||||||
// Title
|
// Title
|
||||||
@@ -324,14 +543,16 @@ if ($resql)
|
|||||||
$morehtml.='/'.$nbtotalofpages.' ';
|
$morehtml.='/'.$nbtotalofpages.' ';
|
||||||
$morehtml.='</div>';
|
$morehtml.='</div>';
|
||||||
|
|
||||||
|
$picto='title_bank';
|
||||||
|
if ($id > 0 || ! empty($ref)) $picto='';
|
||||||
if (GETPOST("bid"))
|
if (GETPOST("bid"))
|
||||||
{
|
{
|
||||||
$result=$bankcateg->fetch(GETPOST("bid"));
|
$result=$bankcateg->fetch(GETPOST("bid"));
|
||||||
print_barre_liste($langs->trans("BankTransactionForCategory",$bankcateg->label).' '.($socid?' '.$soc->name:''), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'title_bank.png', 0, $morehtml, '', $limit);
|
print_barre_liste($langs->trans("BankTransactionForCategory",$bankcateg->label).' '.($socid?' '.$soc->name:''), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, $picto, 0, $morehtml, '', $limit);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print_barre_liste($langs->trans("BankTransactions"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'title_bank.png', 0, $morehtml, '', $limit);
|
print_barre_liste($langs->trans("BankTransactions"), $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, $picto, 0, $morehtml, '', $limit);
|
||||||
}
|
}
|
||||||
|
|
||||||
$moreforfilter = '';
|
$moreforfilter = '';
|
||||||
@@ -433,7 +654,7 @@ if ($resql)
|
|||||||
if (! empty($arrayfields['ba.ref']['checked']))
|
if (! empty($arrayfields['ba.ref']['checked']))
|
||||||
{
|
{
|
||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
$form->select_comptes($account,'account',0,'',1);
|
$form->select_comptes($account,'account',0,'',1, ($id > 0 || ! empty($ref)?' disabled="disabled"':''));
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
if (! empty($arrayfields['b.debit']['checked']))
|
if (! empty($arrayfields['b.debit']['checked']))
|
||||||
@@ -664,7 +885,7 @@ if ($resql)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Num cheque
|
// Num cheque
|
||||||
if (! empty($arrayfields['b.num_releve']['checked']))
|
if (! empty($arrayfields['b.num_chq']['checked']))
|
||||||
{
|
{
|
||||||
print '<td class="nowrap" align="center">'.($objp->num_chq?$objp->num_chq:"")."</td>\n";
|
print '<td class="nowrap" align="center">'.($objp->num_chq?$objp->num_chq:"")."</td>\n";
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
@@ -734,7 +955,7 @@ if ($resql)
|
|||||||
// Balance
|
// Balance
|
||||||
if (! empty($arrayfields['balance']['checked']))
|
if (! empty($arrayfields['balance']['checked']))
|
||||||
{
|
{
|
||||||
if ($mode_balance_ok)
|
if ($mode_balance_ok)
|
||||||
{
|
{
|
||||||
if ($total >= 0)
|
if ($total >= 0)
|
||||||
{
|
{
|
||||||
@@ -751,60 +972,68 @@ if ($resql)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Transaction reconciliated or edit link
|
if (! empty($arrayfields['b.num_releve']['checked']))
|
||||||
if ($objp->rappro && $bankaccount->canBeConciliated() > 0) // If line not conciliated and account can be conciliated
|
|
||||||
{
|
{
|
||||||
print '<td align="center" class="nowrap">';
|
print '<td class="nowrap" align="center">';
|
||||||
print '<a href="'.DOL_URL_ROOT.'/compta/bank/ligne.php?rowid='.$objp->rowid.'&account='.$object->id.'&page='.$page.'">';
|
// Transaction reconciliated or edit link
|
||||||
print img_edit();
|
if ($objp->rappro && $bankaccount->canBeConciliated() > 0) // If line not conciliated and account can be conciliated
|
||||||
print '</a>';
|
{
|
||||||
print " ";
|
print '<a href="'.DOL_URL_ROOT.'/compta/bank/ligne.php?rowid='.$objp->rowid.'&account='.$object->id.'&page='.$page.'">';
|
||||||
print '<a href="releve.php?num='.$objp->num_releve.'&account='.$object->id.'">'.$objp->num_releve.'</a>';
|
print img_edit();
|
||||||
print "</td>";
|
print '</a>';
|
||||||
}
|
print " ";
|
||||||
else
|
print '<a href="releve.php?num='.$objp->num_releve.'&account='.$object->id.'">'.$objp->num_releve.'</a>';
|
||||||
{
|
}
|
||||||
print '<td align="center">';
|
else
|
||||||
if ($user->rights->banque->modifier || $user->rights->banque->consolidate)
|
{
|
||||||
{
|
if ($user->rights->banque->modifier || $user->rights->banque->consolidate)
|
||||||
print '<a href="'.DOL_URL_ROOT.'/compta/bank/ligne.php?rowid='.$objp->rowid.'&account='.$object->id.'&page='.$page.'">';
|
{
|
||||||
print img_edit();
|
print '<a href="'.DOL_URL_ROOT.'/compta/bank/ligne.php?rowid='.$objp->rowid.'&account='.$object->id.'&page='.$page.'">';
|
||||||
print '</a>';
|
print img_edit();
|
||||||
}
|
print '</a>';
|
||||||
else
|
}
|
||||||
{
|
else
|
||||||
print '<a href="'.DOL_URL_ROOT.'/compta/bank/ligne.php?rowid='.$objp->rowid.'&account='.$object->id.'&page='.$page.'">';
|
{
|
||||||
print img_view();
|
print '<a href="'.DOL_URL_ROOT.'/compta/bank/ligne.php?rowid='.$objp->rowid.'&account='.$object->id.'&page='.$page.'">';
|
||||||
print '</a>';
|
print img_view();
|
||||||
}
|
print '</a>';
|
||||||
if ($bankaccount->canBeConciliated() > 0 && empty($objp->rappro))
|
}
|
||||||
{
|
if ($bankaccount->canBeConciliated() > 0 && empty($objp->rappro))
|
||||||
if ($db->jdate($objp->dv) < ($now - $conf->bank->rappro->warning_delay))
|
{
|
||||||
{
|
if ($db->jdate($objp->dv) < ($now - $conf->bank->rappro->warning_delay))
|
||||||
print ' '.img_warning($langs->trans("Late"));
|
{
|
||||||
}
|
print ' '.img_warning($langs->trans("Late"));
|
||||||
}
|
}
|
||||||
print ' ';
|
}
|
||||||
if ($user->rights->banque->modifier)
|
print ' ';
|
||||||
{
|
if ($user->rights->banque->modifier)
|
||||||
print '<a href="'.$_SERVER["PHP_SELF"].'?action=delete&rowid='.$objp->rowid.'&id='.$object->id.'&page='.$page.'">';
|
{
|
||||||
print img_delete();
|
print '<a href="'.$_SERVER["PHP_SELF"].'?action=delete&rowid='.$objp->rowid.'&id='.$object->id.'&page='.$page.'">';
|
||||||
print '</a>';
|
print img_delete();
|
||||||
}
|
print '</a>';
|
||||||
print '</td>';
|
}
|
||||||
|
}
|
||||||
|
if ($massactionbutton || $massaction) // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
|
||||||
|
{
|
||||||
|
$selected=0;
|
||||||
|
if (in_array($obj->rowid, $arrayofselected)) $selected=1;
|
||||||
|
print '<input id="cb'.$obj->rowid.'" class="flat checkforselect" type="checkbox" name="toselect[]" value="'.$obj->rowid.'"'.($selected?' checked="checked"':'').'>';
|
||||||
|
}
|
||||||
|
print '</td>';
|
||||||
|
if (! $i) $totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Action column
|
// Action column
|
||||||
print '<td class="nowrap" align="center">';
|
print '<td class="nowrap" align="center">';
|
||||||
if ($massactionbutton || $massaction) // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
|
if ($massactionbutton || $massaction) // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
|
||||||
{
|
{
|
||||||
$selected=0;
|
$selected=0;
|
||||||
if (in_array($obj->rowid, $arrayofselected)) $selected=1;
|
if (in_array($obj->rowid, $arrayofselected)) $selected=1;
|
||||||
print '<input id="cb'.$obj->rowid.'" class="flat checkforselect" type="checkbox" name="toselect[]" value="'.$obj->rowid.'"'.($selected?' checked="checked"':'').'>';
|
print '<input id="cb'.$obj->rowid.'" class="flat checkforselect" type="checkbox" name="toselect[]" value="'.$obj->rowid.'"'.($selected?' checked="checked"':'').'>';
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
|
|
||||||
print "</tr>";
|
print "</tr>";
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
@@ -76,7 +76,7 @@ if ($result)
|
|||||||
$objp = $db->fetch_object($result);
|
$objp = $db->fetch_object($result);
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print "<tr ".$bc[$var].">";
|
print "<tr ".$bc[$var].">";
|
||||||
print "<td><a href=\"".DOL_URL_ROOT."/compta/bank/search.php?bid=$objp->rowid\">$objp->label</a></td>";
|
print "<td><a href=\"".DOL_URL_ROOT."/compta/bank/bankentries.php?bid=$objp->rowid\">$objp->label</a></td>";
|
||||||
print '<td align="right">'.$objp->nombre.'</td>';
|
print '<td align="right">'.$objp->nombre.'</td>';
|
||||||
print '<td align="right">'.price(abs($objp->somme))."</td>";
|
print '<td align="right">'.price(abs($objp->somme))."</td>";
|
||||||
print '<td align="right">'.price(abs(price2num($objp->somme / $objp->nombre,'MT')))."</td>";
|
print '<td align="right">'.price(abs(price2num($objp->somme / $objp->nombre,'MT')))."</td>";
|
||||||
|
|||||||
@@ -1234,7 +1234,7 @@ class Account extends CommonObject
|
|||||||
}
|
}
|
||||||
else if ($mode == 'transactions')
|
else if ($mode == 'transactions')
|
||||||
{
|
{
|
||||||
$link = '<a href="'.DOL_URL_ROOT.'/compta/bank/account.php?account='.$this->id.$linkclose;
|
$link = '<a href="'.DOL_URL_ROOT.'/compta/bank/bankentries.php?id='.$this->id.$linkclose;
|
||||||
$linkend='</a>';
|
$linkend='</a>';
|
||||||
}
|
}
|
||||||
else if ($mode == 'receipts')
|
else if ($mode == 'receipts')
|
||||||
|
|||||||
@@ -771,7 +771,7 @@ if ($account)
|
|||||||
if ($_GET["option"]!='all')
|
if ($_GET["option"]!='all')
|
||||||
{
|
{
|
||||||
$morehtml='<a href="'.$_SERVER["PHP_SELF"].'?account='.$account.'&option=all'.$moreparam.'">'.$langs->trans("ShowAllAccounts").'</a>';
|
$morehtml='<a href="'.$_SERVER["PHP_SELF"].'?account='.$account.'&option=all'.$moreparam.'">'.$langs->trans("ShowAllAccounts").'</a>';
|
||||||
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', '', $moreparam);
|
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', '', $moreparam, 0, '', '', 1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -423,7 +423,7 @@ foreach ($accounts as $key=>$type)
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td align="center">'.$acc->getLibStatut(2).'</td>';
|
print '<td align="center">'.$acc->getLibStatut(2).'</td>';
|
||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
print '<a href="account.php?account='.$acc->id.'">'.price($solde, 0, $langs, 0, 0, -1, $acc->currency_code).'</a>';
|
print '<a href="'.DOL_URL_ROOT.'/compta/bankentries.php?id='.$acc->id.'">'.price($solde, 0, $langs, 0, 0, -1, $acc->currency_code).'</a>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
// Action column
|
// Action column
|
||||||
|
|||||||
@@ -271,7 +271,7 @@ if ($result)
|
|||||||
|
|
||||||
print '<table class="border" width="100%">';
|
print '<table class="border" width="100%">';
|
||||||
|
|
||||||
$linkback = '<a href="'.DOL_URL_ROOT.'/compta/bank/search.php">'.$langs->trans("BackToList").'</a>';
|
$linkback = '<a href="'.DOL_URL_ROOT.'/compta/bank/bankentries.php">'.$langs->trans("BackToList").'</a>';
|
||||||
|
|
||||||
// Ref
|
// Ref
|
||||||
print '<tr><td width="20%">'.$langs->trans("Ref")."</td>";
|
print '<tr><td width="20%">'.$langs->trans("Ref")."</td>";
|
||||||
|
|||||||
@@ -181,7 +181,7 @@ if ($resql)
|
|||||||
$var=True;
|
$var=True;
|
||||||
$num = $db->num_rows($resql);
|
$num = $db->num_rows($resql);
|
||||||
|
|
||||||
print load_fiche_titre($langs->trans("Reconciliation").': <a href="account.php?account='.$acct->id.'">'.$acct->label.'</a>', '', 'title_bank.png');
|
print load_fiche_titre($langs->trans("Reconciliation").': <a href="'.DOL_URL_ROOT.'/compta/bank/bankentries.php?id='.$acct->id.'">'.$acct->label.'</a>', '', 'title_bank.png');
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
// Show last bank receipts
|
// Show last bank receipts
|
||||||
|
|||||||
@@ -126,24 +126,13 @@ if (empty($num))
|
|||||||
$head=bank_prepare_head($object);
|
$head=bank_prepare_head($object);
|
||||||
dol_fiche_head($head,'statement',$langs->trans("FinancialAccount"),0,'account');
|
dol_fiche_head($head,'statement',$langs->trans("FinancialAccount"),0,'account');
|
||||||
|
|
||||||
print '<table class="border" width="100%">';
|
|
||||||
|
|
||||||
$linkback = '<a href="'.DOL_URL_ROOT.'/compta/bank/index.php">'.$langs->trans("BackToList").'</a>';
|
$linkback = '<a href="'.DOL_URL_ROOT.'/compta/bank/index.php">'.$langs->trans("BackToList").'</a>';
|
||||||
|
|
||||||
// Ref
|
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref, '', 0, '', '', 1);
|
||||||
print '<tr><td width="25%">'.$langs->trans("Ref").'</td>';
|
|
||||||
print '<td colspan="3">';
|
|
||||||
print $form->showrefnav($object, 'ref', $linkback, 1, 'ref');
|
|
||||||
print '</td></tr>';
|
|
||||||
|
|
||||||
// Label
|
|
||||||
print '<tr><td>'.$langs->trans("Label").'</td>';
|
|
||||||
print '<td colspan="3">'.$object->label.'</td></tr>';
|
|
||||||
|
|
||||||
print '</table>';
|
|
||||||
|
|
||||||
dol_fiche_end();
|
dol_fiche_end();
|
||||||
|
|
||||||
|
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
|
|
||||||
if ($object->canBeConciliated() > 0) {
|
if ($object->canBeConciliated() > 0) {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/compta/bank/virement.php
|
* \file htdocs/compta/bank/transfer.php
|
||||||
* \ingroup banque
|
* \ingroup banque
|
||||||
* \brief Page de saisie d'un virement
|
* \brief Page de saisie d'un virement
|
||||||
*/
|
*/
|
||||||
@@ -91,11 +91,11 @@ if ($action == 'add')
|
|||||||
$result=0;
|
$result=0;
|
||||||
|
|
||||||
// By default, electronic transfert from bank to bank
|
// By default, electronic transfert from bank to bank
|
||||||
$typefrom='PRE';
|
$typefrom='VIR';
|
||||||
$typeto='VIR';
|
$typeto='VIR';
|
||||||
if ($accountto->courant == Account::TYPE_CASH || $accountfrom->courant == Account::TYPE_CASH)
|
if ($accountto->courant == Account::TYPE_CASH || $accountfrom->courant == Account::TYPE_CASH)
|
||||||
{
|
{
|
||||||
// This is transfert of change
|
// This is transfer of change
|
||||||
$typefrom='LIQ';
|
$typefrom='LIQ';
|
||||||
$typeto='LIQ';
|
$typeto='LIQ';
|
||||||
}
|
}
|
||||||
@@ -112,7 +112,7 @@ if ($action == 'add')
|
|||||||
|
|
||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
$mesgs = $langs->trans("TransferFromToDone","<a href=\"account.php?account=".$accountfrom->id."\">".$accountfrom->label."</a>","<a href=\"account.php?account=".$accountto->id."\">".$accountto->label."</a>",$amount,$langs->transnoentities("Currency".$conf->currency));
|
$mesgs = $langs->trans("TransferFromToDone","<a href=\"bankentries.php?id=".$accountfrom->id."\">".$accountfrom->label."</a>","<a href=\"bankentries.php?id=".$accountto->id."\">".$accountto->label."</a>",$amount,$langs->transnoentities("Currency".$conf->currency));
|
||||||
setEventMessages($mesgs, null, 'mesgs');
|
setEventMessages($mesgs, null, 'mesgs');
|
||||||
$db->commit();
|
$db->commit();
|
||||||
}
|
}
|
||||||
@@ -157,7 +157,7 @@ print load_fiche_titre($langs->trans("MenuBankInternalTransfer"), '', 'title_ban
|
|||||||
print $langs->trans("TransferDesc");
|
print $langs->trans("TransferDesc");
|
||||||
print "<br><br>";
|
print "<br><br>";
|
||||||
|
|
||||||
print "<form name='add' method=\"post\" action=\"virement.php\">";
|
print '<form name="add" method="post" action="'.$_SERVER["PHP_SELF"].'">';
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
|
|
||||||
print '<input type="hidden" name="action" value="add">';
|
print '<input type="hidden" name="action" value="add">';
|
||||||
@@ -191,7 +191,7 @@ if ($resql)
|
|||||||
|
|
||||||
// Bank
|
// Bank
|
||||||
print '<td>';
|
print '<td>';
|
||||||
if ($objp->bid) print '<a href="'.DOL_URL_ROOT.'/compta/bank/account.php?account='.$objp->bid.'">'.img_object($langs->trans("ShowAccount"),'account').' '.$objp->label.'</a>';
|
if ($objp->bid) print '<a href="'.DOL_URL_ROOT.'/compta/bank/bankentries.php?account='.$objp->bid.'">'.img_object($langs->trans("ShowAccount"),'account').' '.$objp->label.'</a>';
|
||||||
else print ' ';
|
else print ' ';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2006-2015 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2006-2016 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2012 Regis Houssin <regis.houssin@capnetworks.com>
|
* Copyright (C) 2012 Regis Houssin <regis.houssin@capnetworks.com>
|
||||||
* Copyright (C) 2015 Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
|
* Copyright (C) 2015 Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
|
||||||
* Copyright (C) 2016 Juanjo Menent <jmenent@2byte.es>
|
* Copyright (C) 2016 Juanjo Menent <jmenent@2byte.es>
|
||||||
@@ -42,8 +42,8 @@ function bank_prepare_head(Account $object)
|
|||||||
$head[$h][2] = 'bankname';
|
$head[$h][2] = 'bankname';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT . "/compta/bank/account.php?id=" . $object->id;
|
$head[$h][0] = DOL_URL_ROOT . "/compta/bank/bankentries.php?id=" . $object->id;
|
||||||
$head[$h][1] = $langs->trans("Transactions");
|
$head[$h][1] = $langs->trans("BankTransactions");
|
||||||
$head[$h][2] = 'journal';
|
$head[$h][2] = 'journal';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
|
|||||||
@@ -926,9 +926,10 @@ function dol_get_fiche_end($notab=0)
|
|||||||
* @param int $nodbprefix Do not include DB prefix to forge table name
|
* @param int $nodbprefix Do not include DB prefix to forge table name
|
||||||
* @param string $morehtmlleft More html code to show before ref
|
* @param string $morehtmlleft More html code to show before ref
|
||||||
* @param string $morehtmlright More html code to show before navigation arrows
|
* @param string $morehtmlright More html code to show before navigation arrows
|
||||||
|
* @param int $onlybanner Put this to 1, if the card will contains only a banner
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function dol_banner_tab($object, $paramid, $morehtml='', $shownav=1, $fieldid='rowid', $fieldref='ref', $morehtmlref='', $moreparam='', $nodbprefix=0, $morehtmlleft='', $morehtmlright='')
|
function dol_banner_tab($object, $paramid, $morehtml='', $shownav=1, $fieldid='rowid', $fieldref='ref', $morehtmlref='', $moreparam='', $nodbprefix=0, $morehtmlleft='', $morehtmlright='', $onlybanner=0)
|
||||||
{
|
{
|
||||||
global $conf, $form, $user, $langs;
|
global $conf, $form, $user, $langs;
|
||||||
|
|
||||||
@@ -943,7 +944,7 @@ function dol_banner_tab($object, $paramid, $morehtml='', $shownav=1, $fieldid='r
|
|||||||
if ($object->element == 'user') $modulepart='userphoto';
|
if ($object->element == 'user') $modulepart='userphoto';
|
||||||
if ($object->element == 'product') $modulepart='product';
|
if ($object->element == 'product') $modulepart='product';
|
||||||
|
|
||||||
print '<div class="arearef heightref valignmiddle" width="100%">';
|
print '<div class="'.($onlybanner?'':'arearef ').'heightref valignmiddle" width="100%">';
|
||||||
if ($object->element == 'product')
|
if ($object->element == 'product')
|
||||||
{
|
{
|
||||||
$width=80; $cssclass='photoref';
|
$width=80; $cssclass='photoref';
|
||||||
|
|||||||
@@ -268,9 +268,9 @@ insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, left
|
|||||||
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->banque->enabled', __HANDLER__, 'left', 2600__+MAX_llx_menu__, 'accountancy', 'bank', 14__+MAX_llx_menu__, '/compta/bank/index.php?leftmenu=bank&mainmenu=bank', 'MenuBankCash', 0, 'banks', '$user->rights->banque->lire', '', 0, 1, __ENTITY__);
|
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->banque->enabled', __HANDLER__, 'left', 2600__+MAX_llx_menu__, 'accountancy', 'bank', 14__+MAX_llx_menu__, '/compta/bank/index.php?leftmenu=bank&mainmenu=bank', 'MenuBankCash', 0, 'banks', '$user->rights->banque->lire', '', 0, 1, __ENTITY__);
|
||||||
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->banque->enabled && ($leftmenu=="bank" || $leftmenu=="checks" || $leftmenu=="withdraw")', __HANDLER__, 'left', 2601__+MAX_llx_menu__, 'accountancy', '', 2600__+MAX_llx_menu__, '/compta/bank/card.php?action=create&leftmenu=bank', 'MenuNewFinancialAccount', 1, 'banks', '$user->rights->banque->configurer', '', 0, 0, __ENTITY__);
|
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->banque->enabled && ($leftmenu=="bank" || $leftmenu=="checks" || $leftmenu=="withdraw")', __HANDLER__, 'left', 2601__+MAX_llx_menu__, 'accountancy', '', 2600__+MAX_llx_menu__, '/compta/bank/card.php?action=create&leftmenu=bank', 'MenuNewFinancialAccount', 1, 'banks', '$user->rights->banque->configurer', '', 0, 0, __ENTITY__);
|
||||||
-- insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->banque->enabled && ($leftmenu=="bank" || $leftmenu=="checks" || $leftmenu=="withdraw")', __HANDLER__, 'left', 2602__+MAX_llx_menu__, 'accountancy', '', 2600__+MAX_llx_menu__, '/compta/bank/categ.php?leftmenu=bank', 'Rubriques', 1, 'categories', '$user->rights->banque->configurer', '', 0, 1, __ENTITY__);
|
-- insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->banque->enabled && ($leftmenu=="bank" || $leftmenu=="checks" || $leftmenu=="withdraw")', __HANDLER__, 'left', 2602__+MAX_llx_menu__, 'accountancy', '', 2600__+MAX_llx_menu__, '/compta/bank/categ.php?leftmenu=bank', 'Rubriques', 1, 'categories', '$user->rights->banque->configurer', '', 0, 1, __ENTITY__);
|
||||||
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->banque->enabled && ($leftmenu=="bank" || $leftmenu=="checks" || $leftmenu=="withdraw")', __HANDLER__, 'left', 2603__+MAX_llx_menu__, 'accountancy', '', 2600__+MAX_llx_menu__, '/compta/bank/search.php?leftmenu=bank', 'ListTransactions', 1, 'banks', '$user->rights->banque->lire', '', 0, 2, __ENTITY__);
|
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->banque->enabled && ($leftmenu=="bank" || $leftmenu=="checks" || $leftmenu=="withdraw")', __HANDLER__, 'left', 2603__+MAX_llx_menu__, 'accountancy', '', 2600__+MAX_llx_menu__, '/compta/bank/bankentries.php?leftmenu=bank', 'ListTransactions', 1, 'banks', '$user->rights->banque->lire', '', 0, 2, __ENTITY__);
|
||||||
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->banque->enabled && ($leftmenu=="bank" || $leftmenu=="checks" || $leftmenu=="withdraw")', __HANDLER__, 'left', 2604__+MAX_llx_menu__, 'accountancy', '', 2600__+MAX_llx_menu__, '/compta/bank/budget.php?leftmenu=bank', 'ListTransactionsByCategory', 1, 'banks', '$user->rights->banque->lire', '', 0, 3, __ENTITY__);
|
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->banque->enabled && ($leftmenu=="bank" || $leftmenu=="checks" || $leftmenu=="withdraw")', __HANDLER__, 'left', 2604__+MAX_llx_menu__, 'accountancy', '', 2600__+MAX_llx_menu__, '/compta/bank/budget.php?leftmenu=bank', 'ListTransactionsByCategory', 1, 'banks', '$user->rights->banque->lire', '', 0, 3, __ENTITY__);
|
||||||
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->banque->enabled && ($leftmenu=="bank" || $leftmenu=="checks" || $leftmenu=="withdraw")', __HANDLER__, 'left', 2606__+MAX_llx_menu__, 'accountancy', '', 2600__+MAX_llx_menu__, '/compta/bank/virement.php?leftmenu=bank', 'BankTransfers', 1, 'banks', '$user->rights->banque->transfer', '', 0, 5, __ENTITY__);
|
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->banque->enabled && ($leftmenu=="bank" || $leftmenu=="checks" || $leftmenu=="withdraw")', __HANDLER__, 'left', 2606__+MAX_llx_menu__, 'accountancy', '', 2600__+MAX_llx_menu__, '/compta/bank/transfer.php?leftmenu=bank', 'BankTransfers', 1, 'banks', '$user->rights->banque->transfer', '', 0, 5, __ENTITY__);
|
||||||
-- Account - Categories
|
-- Account - Categories
|
||||||
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->categorie->enabled', __HANDLER__, 'left', 2650__+MAX_llx_menu__, 'accountancy', 'cat', 14__+MAX_llx_menu__, '/categories/index.php?leftmenu=cat&type=5', 'Categories', 0, 'categories', '$user->rights->categorie->lire', '', 2, 4, __ENTITY__);
|
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->categorie->enabled', __HANDLER__, 'left', 2650__+MAX_llx_menu__, 'accountancy', 'cat', 14__+MAX_llx_menu__, '/categories/index.php?leftmenu=cat&type=5', 'Categories', 0, 'categories', '$user->rights->categorie->lire', '', 2, 4, __ENTITY__);
|
||||||
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->categorie->enabled', __HANDLER__, 'left', 2651__+MAX_llx_menu__, 'accountancy', '', 2650__+MAX_llx_menu__, '/categories/card.php?action=create&type=5', 'NewCategory', 1, 'categories', '$user->rights->categorie->creer', '', 2, 0, __ENTITY__);
|
insert into llx_menu (module, enabled, menu_handler, type, rowid, mainmenu, leftmenu, fk_menu, url, titre, level, langs, perms, target, usertype, position, entity) values ('', '$conf->categorie->enabled', __HANDLER__, 'left', 2651__+MAX_llx_menu__, 'accountancy', '', 2650__+MAX_llx_menu__, '/categories/card.php?action=create&type=5', 'NewCategory', 1, 'categories', '$user->rights->categorie->creer', '', 2, 0, __ENTITY__);
|
||||||
|
|||||||
@@ -1073,10 +1073,10 @@ function print_left_eldy_menu($db,$menu_array_before,$menu_array_after,&$tabMenu
|
|||||||
|
|
||||||
$newmenu->add("/compta/bank/card.php?action=create",$langs->trans("MenuNewFinancialAccount"),1,$user->rights->banque->configurer);
|
$newmenu->add("/compta/bank/card.php?action=create",$langs->trans("MenuNewFinancialAccount"),1,$user->rights->banque->configurer);
|
||||||
$newmenu->add("/compta/bank/index.php?leftmenu=bank&mainmenu=bank",$langs->trans("List"),1,$user->rights->banque->lire, '', $mainmenu, 'bank');
|
$newmenu->add("/compta/bank/index.php?leftmenu=bank&mainmenu=bank",$langs->trans("List"),1,$user->rights->banque->lire, '', $mainmenu, 'bank');
|
||||||
$newmenu->add("/compta/bank/search.php",$langs->trans("ListTransactions"),1,$user->rights->banque->lire);
|
$newmenu->add("/compta/bank/bankentries.php",$langs->trans("ListTransactions"),1,$user->rights->banque->lire);
|
||||||
$newmenu->add("/compta/bank/budget.php",$langs->trans("ListTransactionsByCategory"),1,$user->rights->banque->lire);
|
$newmenu->add("/compta/bank/budget.php",$langs->trans("ListTransactionsByCategory"),1,$user->rights->banque->lire);
|
||||||
|
|
||||||
$newmenu->add("/compta/bank/virement.php",$langs->trans("MenuBankInternalTransfer"),1,$user->rights->banque->transfer);
|
$newmenu->add("/compta/bank/transfer.php",$langs->trans("MenuBankInternalTransfer"),1,$user->rights->banque->transfer);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! empty($conf->categorie->enabled)) {
|
if (! empty($conf->categorie->enabled)) {
|
||||||
|
|||||||
@@ -708,7 +708,7 @@ if (empty($action))
|
|||||||
print '<td>'.$objp->num_paiement.'</td>';
|
print '<td>'.$objp->num_paiement.'</td>';
|
||||||
|
|
||||||
print '<td>';
|
print '<td>';
|
||||||
if ($objp->bid) print '<a href="'.DOL_URL_ROOT.'/compta/bank/account.php?account='.$objp->bid.'">'.img_object($langs->trans("ShowAccount"),'account').' '.dol_trunc($objp->label,24).'</a>';
|
if ($objp->bid) print '<a href="'.DOL_URL_ROOT.'/compta/bank/bankentries.php?account='.$objp->bid.'">'.img_object($langs->trans("ShowAccount"),'account').' '.dol_trunc($objp->label,24).'</a>';
|
||||||
else print ' ';
|
else print ' ';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
|
|||||||
@@ -55,16 +55,16 @@ AccountCard=Account card
|
|||||||
DeleteAccount=Delete account
|
DeleteAccount=Delete account
|
||||||
ConfirmDeleteAccount=Are you sure you want to delete this account?
|
ConfirmDeleteAccount=Are you sure you want to delete this account?
|
||||||
Account=Account
|
Account=Account
|
||||||
BankTransactionByCategories=Bank transactions by categories
|
BankTransactionByCategories=Bank entries by categories
|
||||||
BankTransactionForCategory=Bank transactions for category <b>%s</b>
|
BankTransactionForCategory=Bank entries for category <b>%s</b>
|
||||||
RemoveFromRubrique=Remove link with category
|
RemoveFromRubrique=Remove link with category
|
||||||
RemoveFromRubriqueConfirm=Are you sure you want to remove link between the transaction and the category?
|
RemoveFromRubriqueConfirm=Are you sure you want to remove link between the entry and the category?
|
||||||
ListBankTransactions=List of bank transactions
|
ListBankTransactions=List of bank entries
|
||||||
IdTransaction=Transaction ID
|
IdTransaction=Transaction ID
|
||||||
BankTransactions=Bank transactions
|
BankTransactions=Bank entries
|
||||||
ListTransactions=List transactions
|
ListTransactions=List entries
|
||||||
ListTransactionsByCategory=List transaction/category
|
ListTransactionsByCategory=List entries/category
|
||||||
TransactionsToConciliate=Transactions to reconcile
|
TransactionsToConciliate=Entries to reconcile
|
||||||
Conciliable=Can be reconciled
|
Conciliable=Can be reconciled
|
||||||
Conciliate=Reconcile
|
Conciliate=Reconcile
|
||||||
Conciliation=Reconciliation
|
Conciliation=Reconciliation
|
||||||
@@ -74,16 +74,16 @@ AccountToCredit=Account to credit
|
|||||||
AccountToDebit=Account to debit
|
AccountToDebit=Account to debit
|
||||||
DisableConciliation=Disable reconciliation feature for this account
|
DisableConciliation=Disable reconciliation feature for this account
|
||||||
ConciliationDisabled=Reconciliation feature disabled
|
ConciliationDisabled=Reconciliation feature disabled
|
||||||
LinkedToAConciliatedTransaction=Linked to a conciliated transaction
|
LinkedToAConciliatedTransaction=Linked to a conciliated entry
|
||||||
StatusAccountOpened=Open
|
StatusAccountOpened=Open
|
||||||
StatusAccountClosed=Closed
|
StatusAccountClosed=Closed
|
||||||
AccountIdShort=Number
|
AccountIdShort=Number
|
||||||
LineRecord=Transaction
|
LineRecord=Transaction
|
||||||
AddBankRecord=Add transaction
|
AddBankRecord=Add entry
|
||||||
AddBankRecordLong=Add transaction manually
|
AddBankRecordLong=Add entry manually
|
||||||
ConciliatedBy=Reconciled by
|
ConciliatedBy=Reconciled by
|
||||||
DateConciliating=Reconcile date
|
DateConciliating=Reconcile date
|
||||||
BankLineConciliated=Transaction reconciled
|
BankLineConciliated=Entry reconciled
|
||||||
Reconciled=Reconciled
|
Reconciled=Reconciled
|
||||||
NotReconciled=Not reconciled
|
NotReconciled=Not reconciled
|
||||||
CustomerInvoicePayment=Customer payment
|
CustomerInvoicePayment=Customer payment
|
||||||
@@ -107,13 +107,13 @@ BankChecks=Bank checks
|
|||||||
BankChecksToReceipt=Checks awaiting deposit
|
BankChecksToReceipt=Checks awaiting deposit
|
||||||
ShowCheckReceipt=Show check deposit receipt
|
ShowCheckReceipt=Show check deposit receipt
|
||||||
NumberOfCheques=Nb of check
|
NumberOfCheques=Nb of check
|
||||||
DeleteTransaction=Delete transaction
|
DeleteTransaction=Delete entry
|
||||||
ConfirmDeleteTransaction=Are you sure you want to delete this transaction?
|
ConfirmDeleteTransaction=Are you sure you want to delete this entry?
|
||||||
ThisWillAlsoDeleteBankRecord=This will also delete generated bank transactions
|
ThisWillAlsoDeleteBankRecord=This will also delete generated bank entry
|
||||||
BankMovements=Movements
|
BankMovements=Movements
|
||||||
PlannedTransactions=Planned transactions
|
PlannedTransactions=Planned entries
|
||||||
Graph=Graphics
|
Graph=Graphics
|
||||||
ExportDataset_banque_1=Bank transactions and account statement
|
ExportDataset_banque_1=Bank entries and account statement
|
||||||
ExportDataset_banque_2=Deposit slip
|
ExportDataset_banque_2=Deposit slip
|
||||||
TransactionOnTheOtherAccount=Transaction on the other account
|
TransactionOnTheOtherAccount=Transaction on the other account
|
||||||
PaymentNumberUpdateSucceeded=Payment number updated successfully
|
PaymentNumberUpdateSucceeded=Payment number updated successfully
|
||||||
@@ -121,7 +121,7 @@ PaymentNumberUpdateFailed=Payment number could not be updated
|
|||||||
PaymentDateUpdateSucceeded=Payment date updated successfully
|
PaymentDateUpdateSucceeded=Payment date updated successfully
|
||||||
PaymentDateUpdateFailed=Payment date could not be updated
|
PaymentDateUpdateFailed=Payment date could not be updated
|
||||||
Transactions=Transactions
|
Transactions=Transactions
|
||||||
BankTransactionLine=Bank transaction
|
BankTransactionLine=Bank entry
|
||||||
AllAccounts=All bank/cash accounts
|
AllAccounts=All bank/cash accounts
|
||||||
BackToAccount=Back to account
|
BackToAccount=Back to account
|
||||||
ShowAllAccounts=Show for all accounts
|
ShowAllAccounts=Show for all accounts
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ ErrorLDAPSetupNotComplete=Dolibarr-LDAP matching is not complete.
|
|||||||
ErrorLDAPMakeManualTest=A .ldif file has been generated in directory %s. Try to load it manually from command line to have more information on errors.
|
ErrorLDAPMakeManualTest=A .ldif file has been generated in directory %s. Try to load it manually from command line to have more information on errors.
|
||||||
ErrorCantSaveADoneUserWithZeroPercentage=Can't save an action with "statut not started" if field "done by" is also filled.
|
ErrorCantSaveADoneUserWithZeroPercentage=Can't save an action with "statut not started" if field "done by" is also filled.
|
||||||
ErrorRefAlreadyExists=Ref used for creation already exists.
|
ErrorRefAlreadyExists=Ref used for creation already exists.
|
||||||
ErrorPleaseTypeBankTransactionReportName=Please type bank receipt name where transaction is reported (Format YYYYMM or YYYYMMDD)
|
ErrorPleaseTypeBankTransactionReportName=Please type bank receipt name where entry is reported (Format YYYYMM or YYYYMMDD)
|
||||||
ErrorRecordHasChildren=Failed to delete record since it has some childs.
|
ErrorRecordHasChildren=Failed to delete record since it has some childs.
|
||||||
ErrorRecordIsUsedCantDelete=Can't delete record. It is already used or included into other object.
|
ErrorRecordIsUsedCantDelete=Can't delete record. It is already used or included into other object.
|
||||||
ErrorModuleRequireJavascript=Javascript must not be disabled to have this feature working. To enable/disable Javascript, go to menu Home->Setup->Display.
|
ErrorModuleRequireJavascript=Javascript must not be disabled to have this feature working. To enable/disable Javascript, go to menu Home->Setup->Display.
|
||||||
@@ -131,7 +131,7 @@ ErrorWarehouseMustDiffers=Source and target warehouses must differs
|
|||||||
ErrorBadFormat=Bad format!
|
ErrorBadFormat=Bad format!
|
||||||
ErrorMemberNotLinkedToAThirpartyLinkOrCreateFirst=Error, this member is not yet linked to any third party. Link member to an existing third party or create a new third party before creating subscription with invoice.
|
ErrorMemberNotLinkedToAThirpartyLinkOrCreateFirst=Error, this member is not yet linked to any third party. Link member to an existing third party or create a new third party before creating subscription with invoice.
|
||||||
ErrorThereIsSomeDeliveries=Error, there is some deliveries linked to this shipment. Deletion refused.
|
ErrorThereIsSomeDeliveries=Error, there is some deliveries linked to this shipment. Deletion refused.
|
||||||
ErrorCantDeletePaymentReconciliated=Can't delete a payment that had generated a bank transaction that was conciliated
|
ErrorCantDeletePaymentReconciliated=Can't delete a payment that had generated a bank entry that was reconciled
|
||||||
ErrorCantDeletePaymentSharedWithPayedInvoice=Can't delete a payment shared by at least one invoice with status Payed
|
ErrorCantDeletePaymentSharedWithPayedInvoice=Can't delete a payment shared by at least one invoice with status Payed
|
||||||
ErrorPriceExpression1=Cannot assign to constant '%s'
|
ErrorPriceExpression1=Cannot assign to constant '%s'
|
||||||
ErrorPriceExpression2=Cannot redefine built-in function '%s'
|
ErrorPriceExpression2=Cannot redefine built-in function '%s'
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ MigrationReopeningContracts=Open contract closed by error
|
|||||||
MigrationReopenThisContract=Reopen contract %s
|
MigrationReopenThisContract=Reopen contract %s
|
||||||
MigrationReopenedContractsNumber=%s contracts modified
|
MigrationReopenedContractsNumber=%s contracts modified
|
||||||
MigrationReopeningContractsNothingToUpdate=No closed contract to open
|
MigrationReopeningContractsNothingToUpdate=No closed contract to open
|
||||||
MigrationBankTransfertsUpdate=Update links between bank transaction and a bank transfer
|
MigrationBankTransfertsUpdate=Update links between bank entry and a bank transfer
|
||||||
MigrationBankTransfertsNothingToUpdate=All links are up to date
|
MigrationBankTransfertsNothingToUpdate=All links are up to date
|
||||||
MigrationShipmentOrderMatching=Sendings receipt update
|
MigrationShipmentOrderMatching=Sendings receipt update
|
||||||
MigrationDeliveryOrderMatching=Delivery receipt update
|
MigrationDeliveryOrderMatching=Delivery receipt update
|
||||||
|
|||||||
@@ -705,7 +705,7 @@ PublicUrl=Public URL
|
|||||||
AddBox=Add box
|
AddBox=Add box
|
||||||
SelectElementAndClickRefresh=Select an element and click Refresh
|
SelectElementAndClickRefresh=Select an element and click Refresh
|
||||||
PrintFile=Print File %s
|
PrintFile=Print File %s
|
||||||
ShowTransaction=Show transaction on bank account
|
ShowTransaction=Show entry on bank account
|
||||||
GoIntoSetupToChangeLogo=Go into Home - Setup - Company to change logo or go into Home - Setup - Display to hide.
|
GoIntoSetupToChangeLogo=Go into Home - Setup - Company to change logo or go into Home - Setup - Display to hide.
|
||||||
Deny=Deny
|
Deny=Deny
|
||||||
Denied=Denied
|
Denied=Denied
|
||||||
|
|||||||
@@ -127,8 +127,8 @@ NoThirdPartyAssociatedToMember=No third party associated to this member
|
|||||||
MembersAndSubscriptions= Members and Subscriptions
|
MembersAndSubscriptions= Members and Subscriptions
|
||||||
MoreActions=Complementary action on recording
|
MoreActions=Complementary action on recording
|
||||||
MoreActionsOnSubscription=Complementary action, suggested by default when recording a subscription
|
MoreActionsOnSubscription=Complementary action, suggested by default when recording a subscription
|
||||||
MoreActionBankDirect=Create a direct transaction record on account
|
MoreActionBankDirect=Create a direct entry on bank account
|
||||||
MoreActionBankViaInvoice=Create an invoice and payment on account
|
MoreActionBankViaInvoice=Create an invoice, and a payment on bank account
|
||||||
MoreActionInvoiceOnly=Create an invoice with no payment
|
MoreActionInvoiceOnly=Create an invoice with no payment
|
||||||
LinkToGeneratedPages=Generate visit cards
|
LinkToGeneratedPages=Generate visit cards
|
||||||
LinkToGeneratedPagesDesc=This screen allows you to generate PDF files with business cards for all your members or a particular member.
|
LinkToGeneratedPagesDesc=This screen allows you to generate PDF files with business cards for all your members or a particular member.
|
||||||
|
|||||||
Reference in New Issue
Block a user