2015-05-01 22:44:35 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{%  extends  "./layout/default.twig"  %} 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								{%  block  content  %} 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								     {{  B readcrumbs .renderIfExists ( R oute .getCurrentRoute .getName ,  what )   }} 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								    <form action=" {{  route ( 'accounts.store' )  }} " method="post" id="store" class="form-horizontal">
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-01 23:17:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        <input type="hidden" name="_token" value=" {{  csrf_token ( )  }} " />
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-01 22:44:35 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								        <input type="hidden" name="what" value=" {{  what  }} " />
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-01 23:17:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        <div class="row">
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            <div class="col-lg-6 col-md-6 col-sm-12">
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                <div class="panel panel-primary">
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    <div class="panel-heading">
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-09 22:42:45 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								                        <i class="fa  {{  subTitleIcon  }} "></i>  {{  'mandatoryFields' | _  }} 
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-01 23:17:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								                    </div>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    <div class="panel-body">
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                         {{  E xpandedForm .text ( 'name' )  }} 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    </div>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                </div>
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-01 22:44:35 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								            </div>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-01 23:17:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								            <div class="col-lg-6 col-md-6 col-sm-12">
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                 {%  if  what  ==  'asset'  %} 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    <div class="panel panel-default">
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                        <div class="panel-heading">
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-09 22:42:45 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								                            <i class="fa fa-smile-o"></i>  {{  'optionalFields' | _  }} 
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-01 23:17:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								                        </div>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                        <div class="panel-body">
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                             {{  E xpandedForm .balance ( 'openingBalance' )  }} 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                             {{  E xpandedForm .date ( 'openingBalanceDate' ,  phpdate ( 'Y-m-d' ) )  }} 
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-01 23:35:35 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								                             {{  E xpandedForm .select ( 'accountRole' ,  C onfig .get ( 'firefly.accountRoles' ) , null , { 'helpText'  :  'Any extra options resulting from your choice can be set later.' } )  }} 
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-01 23:17:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								                             {{  E xpandedForm .balance ( 'virtualBalance' )  }} 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                        </div>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    </div>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                 {%  endif  %} 
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-09 13:56:03 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								                
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-01 23:17:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								                <div class="panel panel-default">
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    <div class="panel-heading">
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-09 22:42:45 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								                        <i class="fa fa-bolt"></i>  {{  'options' | _  }} 
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-01 23:17:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								                    </div>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    <div class="panel-body">
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                         {{  E xpandedForm .optionsList ( 'create' , 'account' )  }} 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    </div>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                </div>
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-01 22:44:35 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            </div>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        </div>
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-01 23:17:17 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								        <div class="row">
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                <p>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    <button type="submit" class="btn btn-lg btn-success">
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                        <i class="fa fa-plus-circle"></i> Store new  {{  what  }}  account
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                    </button>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								                </p>
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-01 22:44:35 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								            </div>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								        </div>
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								</form>
 
							 
						 
					
						
							
								
									
										
										
										
											2015-05-05 12:51:57 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								{%  endblock  %}