// Revenue stamp if ($selleruserevenustamp) { print '<tr><td>'; print '<table class="nobordernopadding" width="100%"><tr><td>'; print $langs->trans('RevenueStamp'); print '</td>'; if ($action != 'editrevenuestamp' && !empty($object->brouillon) && $user->rights->facture->creer) { print '<td align="right"><a href="' . $_SERVER["PHP_SELF"] . '?action=editrevenuestamp&facid=' . $object->id . '">' . img_edit($langs->trans('SetRevenuStamp'), 1) . '</a></td>'; } print '</tr></table>'; print '</td><td colspan="3">'; if ($action == 'editrevenuestamp') { print '<form action="' . $_SERVER["PHP_SELF"] . '?id=' . $object->id . '" method="post">'; print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">'; print '<input type="hidden" name="action" value="setrevenuestamp">'; print $formother->select_revenue_stamp(GETPOST('revenuestamp'), 'revenuestamp', $mysoc->country_code); // print '<input type="text" class="flat" size="4" name="revenuestamp" value="'.price2num($object->revenuestamp).'">'; print ' <input type="submit" class="button" value="' . $langs->trans('Modify') . '">'; print '</form>'; } else { print price($object->revenuestamp, 1, '', 1, -1, -1, $conf->currency); } print '</td></tr>'; } // Total with tax print '<tr><td>' . $langs->trans('AmountTTC') . '</td><td colspan="3" class="nowrap">' . price($object->total_ttc, 1, '', 1, -1, -1, $conf->currency) . '</td></tr>'; // Statut print '<tr><td>' . $langs->trans('Status') . '</td>'; print '<td colspan="3">' . $object->getLibStatut(4, $totalpaye) . '</td></tr>'; // Project if (!empty($conf->projet->enabled)) {