From 0d5c0350340a73f1089e9a3056cc1444d443d2ab Mon Sep 17 00:00:00 2001 From: aspangaro Date: Thu, 8 Dec 2016 22:12:16 +0100 Subject: [PATCH] Expense report - Remove filed note_private and note_public in card. Already in tab Notes --- htdocs/expensereport/card.php | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/htdocs/expensereport/card.php b/htdocs/expensereport/card.php index 6ad1e4ff0e8..315347bd63e 100644 --- a/htdocs/expensereport/card.php +++ b/htdocs/expensereport/card.php @@ -1427,26 +1427,6 @@ else // Other attributes //$cols = 3; //include DOL_DOCUMENT_ROOT . '/core/tpl/extrafields_edit.tpl.php'; - - // Public note - print ''; - print '' . $langs->trans('NotePublic') . ''; - print ''; - - $doleditor = new DolEditor('note_public', $object->note_public, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, '90%'); - print $doleditor->Create(1); - print ''; - - // Private note - if (empty($user->societe_id)) { - print ''; - print '' . $langs->trans('NotePrivate') . ''; - print ''; - - $doleditor = new DolEditor('note_private', $object->note_private, '', 80, 'dolibarr_notes', 'In', 0, false, true, ROWS_3, '90%'); - print $doleditor->Create(1); - print ''; - } print ''; @@ -1624,14 +1604,6 @@ else print ''; */ - print ''; - print ''.$langs->trans("NotePublic").''; - print ''.$object->note_public.''; - print ''; - print ''; - print ''.$langs->trans("NotePrivate").''; - print ''.$object->note_private.''; - print ''; // Amount print ''; print ''.$langs->trans("AmountHT").'';