Rename "Reconciled" with "BankLineReconciled" for bank conciliation
This commit is contained in:
parent
8d2d0f1e84
commit
644e509265
@ -358,7 +358,7 @@ class Subscription extends CommonObject
|
||||
$result = $member->update_end_date($user);
|
||||
|
||||
if ($this->fk_bank > 0 && is_object($accountline) && $accountline->id > 0) { // If we found bank account line (this means this->fk_bank defined)
|
||||
$result = $accountline->delete($user); // Return false if refused because line is conciliated
|
||||
$result = $accountline->delete($user); // Return false if refused because line is reconciled
|
||||
if ($result > 0) {
|
||||
$this->db->commit();
|
||||
return 1;
|
||||
|
||||
@ -170,7 +170,7 @@ $arrayfields = array(
|
||||
'balancebefore'=>array('label'=>$langs->trans("BalanceBefore"), 'checked'=>0, 'position'=>1000),
|
||||
'balance'=>array('label'=>$langs->trans("Balance"), 'checked'=>1, 'position'=>1001),
|
||||
'b.num_releve'=>array('label'=>$langs->trans("AccountStatement"), 'checked'=>1, 'position'=>1010),
|
||||
'b.conciliated'=>array('label'=>$langs->trans("Conciliated"), 'enabled'=> $object->rappro, 'checked'=>($action == 'reconcile' ? 1 : 0), 'position'=>1020),
|
||||
'b.conciliated'=>array('label'=>$langs->trans("BankLineReconciled"), 'enabled'=> $object->rappro, 'checked'=>($action == 'reconcile' ? 1 : 0), 'position'=>1020),
|
||||
);
|
||||
// Extra fields
|
||||
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_array_fields.tpl.php';
|
||||
|
||||
@ -730,7 +730,7 @@ class RemiseCheque extends CommonObject
|
||||
$bankline = new AccountLine($db);
|
||||
$bankline->fetch($bank_id);
|
||||
|
||||
/* Conciliation is allowed because when check is returned, a new line is created onto bank transaction log.
|
||||
/* Reconciliation is allowed because when check is returned, a new line is created onto bank transaction log.
|
||||
if ($bankline->rappro)
|
||||
{
|
||||
$this->error='ActionRefusedLineAlreadyConciliated';
|
||||
@ -739,7 +739,7 @@ class RemiseCheque extends CommonObject
|
||||
|
||||
$this->db->begin();
|
||||
|
||||
// Not conciliated, we can delete it
|
||||
// Not reconciled, we can delete it
|
||||
//$bankline->delete($user); // We delete
|
||||
|
||||
$bankaccount = $payment->fk_account;
|
||||
|
||||
@ -628,7 +628,7 @@ function dol_print_object_info($object, $usetable = 0)
|
||||
if ($usetable) {
|
||||
print '<tr><td class="titlefield">';
|
||||
}
|
||||
print $langs->trans("ConciliatedBy");
|
||||
print $langs->trans("ReconciledBy");
|
||||
if ($usetable) {
|
||||
print '</td><td>';
|
||||
} else {
|
||||
|
||||
@ -151,7 +151,7 @@ class modBanque extends DolibarrModules
|
||||
$this->export_fields_array[$r] = array(
|
||||
'b.rowid'=>'IdTransaction', 'ba.ref'=>'AccountRef', 'ba.label'=>'AccountLabel', 'b.datev'=>'DateValue', 'b.dateo'=>'DateOperation', 'b.label'=>'Label',
|
||||
'b.num_chq'=>'ChequeOrTransferNumber', 'b.fk_bordereau'=>'ChequeBordereau', '-b.amount'=>'Debit', 'b.amount'=>'Credit',
|
||||
'b.num_releve'=>'AccountStatement', 'b.rappro'=>'Conciliated', 'b.datec'=>"DateCreation", "bu.url_id"=>"IdThirdParty",
|
||||
'b.num_releve'=>'AccountStatement', 'b.rappro'=>'BankLineReconciled', 'b.datec'=>"DateCreation", "bu.url_id"=>"IdThirdParty",
|
||||
"s.nom"=>"ThirdParty", "s.code_compta"=>"CustomerAccountancyCode", "s.code_compta_fournisseur"=>"SupplierAccountancyCode"
|
||||
);
|
||||
$this->export_TypeFields_array[$r] = array('ba.ref'=>'Text', 'ba.label'=>'Text', 'b.datev'=>'Date', 'b.dateo'=>'Date', 'b.label'=>'Text', 'b.num_chq'=>'Text', 'b.fk_bordereau'=>'Text', '-b.amount'=>'Numeric', 'b.amount'=>'Numeric', 'b.num_releve'=>'Text', 'b.rappro'=>'Boolean', 'b.datec'=>"Date", "bu.url_id"=>"Text", "s.nom"=>"Text", "s.code_compta"=>"Text", "s.code_compta_fournisseur"=>"Text");
|
||||
|
||||
@ -95,11 +95,11 @@ LineRecord=Transaction
|
||||
AddBankRecord=Add entry
|
||||
AddBankRecordLong=Add entry manually
|
||||
Conciliated=Reconciled
|
||||
ConciliatedBy=Reconciled by
|
||||
ReConciliedBy=Reconciled by
|
||||
DateConciliating=Reconcile date
|
||||
BankLineConciliated=Entry reconciled with bank receipt
|
||||
Reconciled=Reconciled
|
||||
NotReconciled=Not reconciled
|
||||
BankLineReconciled=Reconciled
|
||||
BankLineNotReconciled=Not reconciled
|
||||
CustomerInvoicePayment=Customer payment
|
||||
SupplierInvoicePayment=Vendor payment
|
||||
SubscriptionPayment=Subscription payment
|
||||
|
||||
Loading…
Reference in New Issue
Block a user