fannie/mem/PaymentPlanEditor.php
Method get_id_view
has 89 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_id_view()
{
$dbc = FannieDB::getReadOnly($this->config->get('OP_DB'));
$codes = new ReasoncodesModel($dbc);
$plan = new EquityPaymentPlansModel($dbc);
File PaymentPlanEditor.php
has 288 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/*******************************************************************************
Copyright 2015 Whole Foods Co-op
Method helpContent
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function helpContent()
{
return '
<p>
A payment plan can be assigned to a member to
Method unitTest
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function unitTest($phpunit)
{
$values = new \COREPOS\common\mvc\ValueContainer();
$values->_method = 'get';
$this->setForm($values);
Method get_view
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_view()
{
$dbc = FannieDB::getReadOnly($this->config->get('OP_DB'));
$plans = new EquityPaymentPlansModel($dbc);
$ret = '<table class="table table-bordered">