This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Calculates the Modified-Dietz return given arrays of MIMO | |
* MIMO is an associative array of dates to values | |
* | |
* @param DateTime $startDate Start date for return period | |
* @param DateTime $endDate End date for return period | |
* @param float $BMV Start value of the portfolio | |
* @param float $EMV End value of the portfolio | |
* @param array $MIMO A date-indexed associative array of the cash in/out of the portfolio |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group {{ $errors->has(':name') ? 'has-error' : '' }}"> | |
{{ Form::label(':name', ':label', ['class'=>'control-label']) }} | |
{{ Form::select(':name', $options, $default, ['class'=>'form-control']) }} | |
{{ $errors->first(':name', '<span class="help-block">:message</span>') }} | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group {{ $errors->has(':name') ? 'has-error' : '' }}"> | |
{{ Form::label(':name', ':label', ['class'=>'control-label']) }}<span class="required"></span> | |
{{ Form::text(':name', null, ['class'=>'form-control']) }} | |
{{ $errors->first(':name', '<span class="help-block">:message</span>') }} | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ Form::model(':model', ['route' => ['model.update', $model->id], 'class' => '', 'method' => 'PUT']) }} | |
<div class="row"> | |
<!-- Form Fields --> | |
<div class="col-md-12"> | |
{{ HTML::decode(HTML::linkRoute('model.index', '<i class="fa fa-chevron-left"></i> Back', null, ['class' => 'btn btn-default'])) }} | |
{{ Form::submit('Update', ['class'=>'btn btn-success']) }} | |
</div> | |
</div> | |
{{ Form::close() }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ Form::label(':name', ':label', ['class'=>'control-label']) }} | |
<div class="form-group col-md-3 col-sm-3 col-xs-6 {{ $errors->has(':name') ? 'has-error' : '' }}"> | |
<div class="input-group"> | |
{{ Form::input('number', ':name', null, ['class'=>'form-control percent', 'step' => 'any']) }} | |
<span class="input-group-addon">%</span> | |
</div> | |
{{ $errors->first(':name', '<span class="help-block">:message</span>') }} | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="checkbox"> | |
{{ Form::hidden($name, 0) }} | |
<label> | |
{{ Form::checkbox($name, 1) }} {{ $label }} | |
</label> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group {{ $errors->has(':name') ? 'has-error' : '' }}"> | |
{{ Form::label(':name', ':label', ['class'=>'control-label']) }} | |
{{ Form::textarea(':name', null, array('class'=>'form-control')) }} | |
{{ $errors->first(':name', '<span class="help-block">:message</span>') }} | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ Form::open(['route' => 'model.route', 'class' => '', 'method' => 'POST']) }} | |
<div class="row"> | |
<!-- Form Fields --> | |
<div class="col-md-12"> | |
{{ HTML::decode(HTML::linkRoute('model.index', '<i class="fa fa-chevron-left"></i> Back', null, ['class' => 'btn btn-default'])) }} | |
{{ Form::submit('Submit', ['class'=>'btn btn-success']) }} | |
</div> | |
</div> | |
{{ Form::close() }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span data-toggle="tooltip" data-placement="right" title=":text"><i class="fa fa-question-circle"></i></span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group {{ $errors->has(':name') ? 'has-error' : '' }}"> | |
{{ Form::label(':name', ':label', ['class'=>'control-label']) }} | |
{{ Form::input('date', ':name', null, ['class'=>'form-control']) }} | |
{{ $errors->first(':name', '<span class="help-block">:message</span>') }} | |
</div> |
OlderNewer