';
+ print '| ';
+ print $form->textwithpicto($langs->trans('PointOfSale'), $langs->trans('POSInfo'));
+ print ' | ';
+ if ($action != 'editposinfo' && $object->status == $object::STATUS_DRAFT && $usercancreate) {
+ print 'id.'">'.img_edit($langs->trans('SetPOSInfo'), 1).' | ';
+ }
+ print ' ';
+ print ' | ';
+ print '';
+ print ' |
';
+ }
+
if ($soc->outstanding_limit) {
// Outstanding Bill
print '| ';
diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php
index 877f6607f88..b91dbe00811 100644
--- a/htdocs/commande/class/commande.class.php
+++ b/htdocs/commande/class/commande.class.php
@@ -3423,8 +3423,9 @@ class Commande extends CommonOrder
$sql .= " note_private=".(isset($this->note_private) ? "'".$this->db->escape($this->note_private)."'" : "null").",";
$sql .= " note_public=".(isset($this->note_public) ? "'".$this->db->escape($this->note_public)."'" : "null").",";
$sql .= " model_pdf=".(isset($this->model_pdf) ? "'".$this->db->escape($this->model_pdf)."'" : "null").",";
- $sql .= " import_key=".(isset($this->import_key) ? "'".$this->db->escape($this->import_key)."'" : "null");
-
+ $sql .= " import_key=".(isset($this->import_key) ? "'".$this->db->escape($this->import_key)."'" : "null").",";
+ $sql .= " module_source = ".(isset($this->module_source) ? "'".$this->db->escape($this->module_source)."'" : "null").",";
+ $sql .= " pos_source = ".(isset($this->pos_source) ? "'".$this->db->escape($this->pos_source)."'" : "null");
$sql .= " WHERE rowid=".((int) $this->id);
$this->db->begin();
diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php
index 77a6707f5e6..8e3c4e86e14 100644
--- a/htdocs/commande/list.php
+++ b/htdocs/commande/list.php
@@ -2216,11 +2216,11 @@ if (!empty($arrayfields['c.date_cloture']['checked'])) {
$totalarray['nbfield']++;
}
if (!empty($arrayfields['c.note_public']['checked'])) {
- print_liste_field_titre($arrayfields['c.note_public']['label'], $_SERVER["PHP_SELF"], "c.note_public", "", $param, '', $sortfield, $sortorder, 'right ');
+ print_liste_field_titre($arrayfields['c.note_public']['label'], $_SERVER["PHP_SELF"], "c.note_public", "", $param, '', $sortfield, $sortorder, '');
$totalarray['nbfield']++;
}
if (!empty($arrayfields['c.note_private']['checked'])) {
- print_liste_field_titre($arrayfields['c.note_private']['label'], $_SERVER["PHP_SELF"], "c.note_private", "", $param, '', $sortfield, $sortorder, 'right ');
+ print_liste_field_titre($arrayfields['c.note_private']['label'], $_SERVER["PHP_SELF"], "c.note_private", "", $param, '', $sortfield, $sortorder, '');
$totalarray['nbfield']++;
}
if (!empty($arrayfields['shippable']['checked'])) {
diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php
index 33470a48d17..0f6fdbe2a7f 100644
--- a/htdocs/compta/facture/card.php
+++ b/htdocs/compta/facture/card.php
@@ -5230,6 +5230,7 @@ if ($action == 'create') {
// POS
if (isModEnabled('takepos') || $object->module_source || getDolGlobalString('INVOICE_ALLOW_POS_SOURCE_EDIT')) {
+ $langs->trans("cashdesk");
print ' |