Fixed creating Credit from Contractqueue
This commit is contained in:
@@ -286,7 +286,7 @@ class ContractqueueController extends mfBaseController {
|
|||||||
* if required
|
* if required
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if($cq->approved_credit) {
|
if($cq->crediting_partner_id) {
|
||||||
$credit = ContractModel::createFromContractQueue($cq, "credit");
|
$credit = ContractModel::createFromContractQueue($cq, "credit");
|
||||||
if(!$credit->save()) {
|
if(!$credit->save()) {
|
||||||
$this->log->log("Zu einer Position in Bestellung ".$cq->order_id." konnte keine Gutschrift erstellt werden: Fehler beim Speichern");
|
$this->log->log("Zu einer Position in Bestellung ".$cq->order_id." konnte keine Gutschrift erstellt werden: Fehler beim Speichern");
|
||||||
|
|||||||
Reference in New Issue
Block a user