public function getPaymentMethodTemplate($template, array $order, $payment_model)
    {
        if (empty($order['payment'])) {
            return '';
        }

        $method = $payment_model->get($order['payment']);
        return $this->getMethodTemplate($template, $order, $method);
    }
public function getPaymentMethodTemplate($template, array $order, $payment_model)
    {
        if (empty($order['payment'])) {
            return '';
        }

        $method = $payment_model->get($order['payment']);
        return $this->getMethodTemplate($template, $order, $method);
    }
public function getPaymentMethodTemplate ( $ template , array $ order , $ payment_model ) { if ( empty ( $ order [ 'payment' ] ) ) { return '' ; } $ method = $ payment_model -> get ( $ order [ 'payment' ] ) ; return $ this -> getMethodTemplate ( $ template , $ order , $ method ) ; }
Returns a template for a payment method
@param string $template
@param array $order
@param \gplcart\core\models\Payment $payment_model
@return string
Returns a template for a payment method