Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0
This commit is contained in:
commit
f2a214cc6e
2 changed files with 5 additions and 2 deletions
|
|
@ -1023,6 +1023,9 @@ print '<input type="hidden" name="mode" value="'.$mode.'">';
|
|||
if (empty($arrayfields['customerorsupplier']['checked'])) {
|
||||
print '<input type="hidden" name="type" value="'.$type.'">';
|
||||
}
|
||||
if (!empty($place)) {
|
||||
print '<input type="hidden" name="place" value="'.$place.'">';
|
||||
}
|
||||
|
||||
print_barre_liste($title, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, $massactionbutton, $num, $nbtotalofrecords, 'building', 0, $newcardbutton, '', $limit, 0, 0, 1);
|
||||
|
||||
|
|
|
|||
|
|
@ -460,7 +460,7 @@ if (empty($reshook)) {
|
|||
}
|
||||
|
||||
if (($action == "addline" || $action == "freezone") && $placeid == 0) {
|
||||
$invoice->socid = getDolGlobalString("$constforcompanyid");
|
||||
$invoice->socid = getDolGlobalString($constforcompanyid);
|
||||
$invoice->date = dol_now();
|
||||
$invoice->module_source = 'takepos';
|
||||
$invoice->pos_source = isset($_SESSION["takeposterminal"]) ? $_SESSION["takeposterminal"] : '' ;
|
||||
|
|
@ -537,7 +537,7 @@ if (empty($reshook)) {
|
|||
$invoice->fetch_thirdparty();
|
||||
$array_options = array();
|
||||
|
||||
$line = array('description' => $prod->description, 'price' => $price, 'tva_tx' => $tva_tx, 'locatax1_tx' => $localtax1_tx, 'locatax2_tx' => $localtax2_tx, 'remise_percent' => $customer->remise_percent, 'price_ttc' => $price_ttc, 'array_options' => $array_options);
|
||||
$line = array('description' => $prod->description, 'price' => $price, 'tva_tx' => $tva_tx, 'localtax1_tx' => $localtax1_tx, 'localtax2_tx' => $localtax2_tx, 'remise_percent' => $customer->remise_percent, 'price_ttc' => $price_ttc, 'array_options' => $array_options);
|
||||
|
||||
/* setup of margin calculation */
|
||||
if (isset($conf->global->MARGIN_TYPE)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue