<?php
/**
 * Created by PhpStorm.
 * User: ntaylor-visionware
 * Date: 6/5/18
 * Time: 4:10 PM
 */

namespace Hilco\Models;


class PromotionOrderCommentAction extends PromotionActionDetails {
    protected $table = 'PromotionOrderCommentActions';
    protected $fillable = ['comment_all', 'comment_internal', 'comment_external', 'comment_display', 'commit_sequence'];

    public function promotion() {
        return $this->morphToMany(Promotion::class, 'action',
            'PromotionActions', 'promotion_id',
            'promotionordercommentaction_id');
    }

    public function takeAction(Customer $soldToCustomer, $webCartItems, &$status) {
        // TODO: Implement takeAction() method.
    }
}