Skip to content

Commit

Permalink
Fix not visible template selector for supplier order/invoice emails
Browse files Browse the repository at this point in the history
Conflicts:
	htdocs/fourn/facture/card.php
  • Loading branch information
eldy committed Mar 8, 2018
1 parent af9fff4 commit ad96229
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion htdocs/fourn/commande/card.php
Expand Up @@ -2695,7 +2695,7 @@
}

// Presend form
$modelmail='supplier_order_send';
$modelmail='order_supplier_send';
$defaulttopic='SendOrderRef';
$diroutput = $conf->fournisseur->commande->dir_output;
$trackid = 'sor'.$object->id;
Expand Down
4 changes: 2 additions & 2 deletions htdocs/fourn/facture/card.php
Expand Up @@ -265,7 +265,7 @@
$action='';
}
}

elseif ($action == 'confirm_paid' && $confirm == 'yes' && $user->rights->fournisseur->facture->creer)
{
$object->fetch($id);
Expand Down Expand Up @@ -2928,7 +2928,7 @@
}

// Presend form
$modelmail='order_supplier_send';
$modelmail='invoice_supplier_send';
$defaulttopic='SendBillRef';
$diroutput = $conf->fournisseur->facture->dir_output;
$trackid = 'sin'.$object->id;
Expand Down

0 comments on commit ad96229

Please sign in to comment.