| ' . $langs->trans("Label") . ' | ' . $langs->trans("JanuaryMin") . ' | ' . $langs->trans("FebruaryMin") . ' | ' . $langs->trans("MarchMin") . ' | ' . $langs->trans("AprilMin") . ' | ' . $langs->trans("MayMin") . ' | ' . $langs->trans("JuneMin") . ' | ' . $langs->trans("JulyMin") . ' | ' . $langs->trans("AugustMin") . ' | ' . $langs->trans("SeptemberMin") . ' | ' . $langs->trans("OctoberMin") . ' | ' . $langs->trans("NovemberMin") . ' | ' . $langs->trans("DecemberMin") . ' | Total |
| ' . length_accountg($row[0]) . ' | '; + print '|||||||||||||
| ' . length_accountg($row[0]) . ' | '; print '' . price($row[1]) . ' | '; print '' . price($row[2]) . ' | '; print '' . price($row[3]) . ' | '; diff --git a/htdocs/accountancy/bookkeeping/card.php b/htdocs/accountancy/bookkeeping/card.php index f655d245e86..f0cc48a4878 100644 --- a/htdocs/accountancy/bookkeeping/card.php +++ b/htdocs/accountancy/bookkeeping/card.php @@ -1,8 +1,8 @@ - * Copyright (C) 2013-2017 Florian Henry||||||||||
| ' . $langs->trans("Docref") . ' | '; + print '' . $langs->trans("Piece") . ' | '; print ''; print ' | |||||||||||
| ' . $langs->trans("NumMvts") . ' | '; - print '' . $book->piece_num . ' | '; + print '' . $object->piece_num . ' | '; print 'piece_num .'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('SetDate'),1).' | '; + print 'piece_num .'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('SetDate'),1).' | '; print '
| '; - print $langs->trans('Docref'); + print $langs->trans('Piece'); print ' | '; if ($action != 'editdocref') - print 'piece_num.'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('Edit'),1).' | '; + print 'piece_num.'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('Edit'),1).' | '; print '
| ' . $langs->trans("Doctype") . ' | '; - print '' . $book->doc_type . ' | '; + print '' . $object->doc_type . ' | '; print '
| ' . $langs->trans("DateCreation") . ' | '; print ''; - print $book->date_creation ? dol_print_date($book->date_creation, 'day') : ' '; + print $object->date_creation ? dol_print_date($object->date_creation, 'day') : ' '; print ' | '; print '|
| ' . $langs->trans("Status") . ' | '; print ''; - if (empty($book->validated)) { + if (empty($object->validated)) { print 'rowid . '&action=enable">'; print img_picto($langs->trans("Disabled"), 'switch_off'); print ''; @@ -536,11 +534,11 @@ if ($action == 'create') /* print ' | |
| ' . $langs->trans("Control") . ' | '; - if ($book->doc_type == 'customer_invoice') + if ($object->doc_type == 'customer_invoice') { $sqlmid = 'SELECT rowid as ref'; $sqlmid .= " FROM ".MAIN_DB_PREFIX."facture as fac"; - $sqlmid .= " WHERE fac.rowid=" . $book->fk_doc; + $sqlmid .= " WHERE fac.rowid=" . $object->fk_doc; dol_syslog("accountancy/bookkeeping/card.php::sqlmid=" . $sqlmid, LOG_DEBUG); $resultmid = $db->query($sqlmid); if ($resultmid) { @@ -563,24 +561,24 @@ if ($action == 'create') print '