| Conditions | 3 |
| Paths | 3 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public static function render($driver){ |
||
| 22 | |||
| 23 | $payment_system = PaymentSystem::where('system',$driver)->first(); |
||
| 24 | |||
| 25 | if (is_null($payment_system)) |
||
| 26 | return ''; |
||
| 27 | |||
| 28 | $params = $payment_system->params; |
||
| 29 | |||
| 30 | if (count($params) == 0) |
||
| 31 | return ''; |
||
| 32 | |||
| 33 | return View::make('pay-uz::fields.input',compact('params'))->render(); |
||
| 34 | } |
||
| 35 | |||
| 37 |