breadcrumb added

This commit is contained in:
goutham-M 2013-09-10 11:55:35 +05:30
parent f2d100020e
commit 8e71f2d956
53 changed files with 925 additions and 621 deletions

View File

@ -36,6 +36,7 @@
"label.heading.paymenttype":"Payment Type",
"label.heading.fundsource":"Fund Source",
"label.income":"Income",
"label.accountingrules":"Accounting Rules",
"label.annualfeeon":"Annual fees on:",
"label.advancedaccountingrules":"Advanced accounting rules",
"label.heading.configurefundsourcesforpaymentchannels":"Configure Fund sources for payment channels",
@ -56,6 +57,20 @@
"label.currency":"Currency:",
"label.name":"Name:",
"label.filename":"File name:",
"label.manageoffices":"Manage Offices",
"label.manageholidays":"Manage Holidays",
"label.manageemployees":"Manage Employees",
"label.managedatatables":"Manage Data Table",
"label.createoffice":"Create Office",
"label.createemployee":"Create Employee",
"label.managefunds":"Manage Funds",
"label.currencyconfig":"Currecny configuration",
"label.editcurrencyconfig":"Edit Currecny Configuration",
"label.charges":"Charges",
"Admin users":"",
"label.edituser":"Edit User",
"label.createuser":"Create User",
"#common button name":"",
"button.edit":"Edit",
@ -81,7 +96,7 @@
"label.employee.isLoanOfficer":"is Loan Officer?:",
"#view employee":"....",
"label.office.parentoffice":"label.office.parentoffice:",
"label.office.parentoffice":"Parent office:",
"label.office.openedon":"Opened on:",
"label.office.namedecorated":"Name Decorated:",
"label.office.externalid":"External Id:",
@ -107,6 +122,8 @@
"label.externalid":"External Id",
"label.active":"Active",
"label.fullname":"Full name or Business name:",
"label.editclient":"Edit Client",
"label.createclient":"Create Client",
"#view client loan account details":"....",
"button.addloancharge":"Add Loan Charge",
@ -234,6 +251,7 @@
"link.products.charges" : "Charges/Penalties",
"link.admin.users" : "Users",
"link.admin.organisation" : "Organisation",
"link.admin.products" : "Products",
"link.admin.system" : "System",
"link.admin.products" : "Products",
"link.profile" : "Profile",
@ -241,6 +259,7 @@
"link.logout" : "LogOut",
"#accounting coa":"....",
"label.coa":"Chart Of Accounts",
"button.addaccount":"Add Account",
"table.heading.accname":"Account name",
"table.heading.glcode":"GL code",
@ -256,9 +275,15 @@
"label.manualentriesallowed":"Manual Entries Allowed?",
"label.description":"Description",
"label.tag":"Tag",
"label.editglaccount":"Edit GL Account",
"label.createglaccount":"Create GL Account",
"label.parentaccountname":"Parent Account",
"label.position":"Position",
"Admin System":"",
"label.managecodes":"Manage Codes",
"label.addcode":"Add Code",
"label.editcode":"Edit Code",
"#Office ":"....",
"label.officename":"Office name:",
@ -272,7 +297,7 @@
"#Journal Entry Predefined Postings":"........",
"label.journalentry.posting.title":"Add journal entry",
"label.journalentry.posting.title":"Add Journal Entry",
"label.journalentry.accounting.rules":"Accounting Rules",
"label.journalentry.effected.entries":"Effected GL Entries",
"label.journalentry.credit":"Credit",
@ -283,10 +308,13 @@
"label.save":"Save",
"label.cancel":"Cancel",
"label.journalentry.transaction.number":"Transaction Number #",
"label.searchjournalentries":"Search Journal Entries",
"#Accounting Related":".............",
"button.addrule":"Add Rule",
"label.accounting.closure.closing.date":"ClosedOn Date",
"label.accounting.closure":"Close Accounting",
"label.closingentries.title":"Closing Entries",
"label.accounting.closure.comments":"Comments",
"label.previous.closedOn" : "Previous Closed date:",
"label.closed.accounting.details" : "Closed Accounting Details",
@ -295,6 +323,7 @@
"label.debit.account.details" : "Debit Account Details",
"label.accounting.rule.name" : "Rule Name",
"label.accounting.rule.title":"Create Accounting Rule",
"label.accounting.rule.edit.title":"Edit Accounting Rule",
"label.credit.rule.type":"Type:",
"label.debit.rule.type":"Type:",
"label.allowMultipleCreditEntries":"Allow Multiples",
@ -302,12 +331,13 @@
"app erros end" :"------------------------------------------------------",
"label.holiday.name":"Holiday Name:",
"label.holiday.fromdate":"From Date:",
"label.holiday.todate":"To Date:",
"label.holiday.repaymentsheduleto":"Alternate Working Date:",
"label.holiday.applicableoffices":"Applicable Offices:",
"label.holiday.desc":"Description:"
"Holidays":"",
"label.createholiday":"Create Holiday",
"label.holiday.fromdate":"From Date:",
"label.holiday.todate":"To Date:",
"label.holiday.repaymentsheduleto":"Alternate Working Date:",
"label.holiday.applicableoffices":"Applicable Offices:",
"label.holiday.desc":"Description:"

View File

@ -1,3 +1,9 @@
<div>
<ul class="breadcrumb">
<li><a href="#/accounting">{{'link.accounting' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.coa' | translate}}</li>
</ul>
</div>
<div class="row alert-block span" >
<input ng-model="filterText" type="text" class="form-control" placeholder="Filter by name">
<div class="span4 pull-right">

View File

@ -1,6 +1,12 @@
<div>
<ul class="breadcrumb">
<li><a href="#/accounting">{{'link.accounting' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.accountingrules' | translate}}</li>
</ul>
</div>
<div class="row alert-block span" >
<div class="span4 pull-right">
<a href="#/add_accrule" class="btn btn-primary"><i class="icon-plus icon-white"></i> Add Rule</a>
<a href="#/add_accrule" class="btn btn-primary"><i class="icon-plus icon-white"></i> {{"button.addrule" | translate}}</a>
</div>
</div>

View File

@ -1,3 +1,9 @@
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/accounting">{{'link.accounting' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.closingentries.title' | translate}}</li>
</ul>
</div>
<form class="form-horizontal well" ng-controller="AccountingClosureController" ng-submit="submit()">
<legend>{{ 'label.accounting.closure' | translate }}</legend>
<div class="control-group info">

View File

@ -1,88 +1,95 @@
<form class="form-horizontal well" ng-controller="AccCreateRuleController" ng-submit="submit()">
<fieldset>
<legend>{{ 'label.accounting.rule.title' | translate }}</legend>
<div class="control-group">
<label class="control-label" for="name">{{ 'label.accounting.rule.name' | translate }}</label>
<div class="controls">
<input type="text" class="input-xlarge" id="name" ng-model="formData.name">
</div>
</div>
<div class="control-group info">
<label class="control-label" for="officeId">{{ 'label.office' | translate }}</label>
<div class="controls">
<select class="input-xlarge" ng-model="formData.office">
<option ng-repeat="office in offices" value="{{office.id}}">{{office.name}}</option>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label" for="description">{{ 'label.description' | translate }}</label>
<div class="controls">
<input type="text" class="input-xlarge" ng-model="formData.description">
</div>
</div>
<div class="control-group">
<label class="control-label">{{ 'label.journalentry.effected.entries' | translate }}</label>
<div class="controls">
<table width="100%">
<tr>
<td width="50%">
<strong>{{ 'label.journalentry.credit' | translate }}</strong>
</td>
<td width="50%">
<strong>{{ 'label.journalentry.debit' | translate }}</strong>
</td>
</tr>
<tr>
<td width="50%">
<span>{{ 'label.credit.rule.type' | translate }}</span> &nbsp;
<input type="radio" ng-model="creditRuleType" value="Account" ng-change="resetCredits()">Account &nbsp;&nbsp;&nbsp;
<input type="radio" ng-model="creditRuleType" value="tags" ng-change="resetCredits()">Tags
</td>
<td width="50%">
<span>{{ 'label.debit.rule.type' | translate }}</span>&nbsp;
<input type="radio" ng-model="debitRuleType" value="Account" ng-change="resetDebits()">Account &nbsp;&nbsp;&nbsp;
<input type="radio" ng-model="debitRuleType" value="tags" ng-change="resetDebits()">Tags
</td>
</tr>
<tr>
<td>
<div ng-show="creditRuleType=='Account'">
<select class="input-medium" ng-model="formData.accountToCredit" ng-options="creditAccount.name for creditAccount in glAccounts" ></select>
</div>
<div ng-show="creditRuleType=='tags'">
<label for="allowMultipleCreditEntries">{{ 'label.allowMultipleCreditEntries' | translate}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" ng-model="formData.allowMultipleCreditEntries"></label>
<select class="input-medium" ng-model="formData.creditTagTemplate" ng-options="creditTag.name for creditTag in creditTagOptions" ></select>
&nbsp; <a ng-click="addCreditTag()">&nbsp;<i class="icon-plus icon-white"></i></a>
<br>
<div ng-repeat="crTag in formData.creditTags">
<input type="text" class="input-medium" ng-model="crTag.name" readonly>
<a ng-click="removeCrTag($index)">&nbsp;<i class="icon-remove icon-white"></i></a>
</div>
</div>
</td>
<td>
<div ng-show="debitRuleType=='Account'">
<select class="input-medium" ng-model="formData.accountToDebit" ng-options="debitAccount.name for debitAccount in glAccounts" ></select>
</div>
<div ng-show="debitRuleType=='tags'">
<label for="allowMultipleDebitEntries">{{ 'label.allowMultipleDebitEntries' | translate}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" ng-model="formData.allowMultipleDebitEntries"></label>
<select class="input-medium" ng-model="formData.debitTagTemplate" ng-options="debitTag.name for debitTag in debitTagOptions" ></select>
&nbsp; <a ng-click="addDebitTag()">&nbsp;<i class="icon-plus icon-white"></i></a>
<br>
<div ng-repeat="dbTag in formData.debitTags">
<input type="text" class="input-medium" ng-model="dbTag.name" readonly>
<a ng-click="removeDebitTag($index)">&nbsp;<i class="icon-remove icon-white"></i></a>
</div>
</div>
</td>
</tr>
</table>
</div>
</div>
<div class="form-actions">
<button type="reset" class="btn">{{ 'label.cancel' | translate }}</button>
<button type="submit" class="btn btn-primary">{{ 'label.save' | translate }}</button>
</div>
</fieldset>
</form>
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/accounting">{{'link.accounting' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/accounting_rules">{{'label.accountingrules' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'button.addrule' | translate}}</li>
</ul>
</div>
<form class="form-horizontal well" ng-controller="AccCreateRuleController" ng-submit="submit()">
<fieldset>
<legend>{{ 'label.accounting.rule.title' | translate }}</legend>
<div class="control-group">
<label class="control-label" for="name">{{ 'label.accounting.rule.name' | translate }}</label>
<div class="controls">
<input type="text" class="input-xlarge" id="name" ng-model="formData.name">
</div>
</div>
<div class="control-group info">
<label class="control-label" for="officeId">{{ 'label.office' | translate }}</label>
<div class="controls">
<select class="input-xlarge" ng-model="formData.office">
<option ng-repeat="office in offices" value="{{office.id}}">{{office.name}}</option>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label" for="description">{{ 'label.description' | translate }}</label>
<div class="controls">
<input type="text" class="input-xlarge" ng-model="formData.description">
</div>
</div>
<div class="control-group">
<label class="control-label">{{ 'label.journalentry.effected.entries' | translate }}</label>
<div class="controls">
<table width="100%">
<tr>
<td width="50%">
<strong>{{ 'label.journalentry.credit' | translate }}</strong>
</td>
<td width="50%">
<strong>{{ 'label.journalentry.debit' | translate }}</strong>
</td>
</tr>
<tr>
<td width="50%">
<span>{{ 'label.credit.rule.type' | translate }}</span> &nbsp;
<input type="radio" ng-model="creditRuleType" value="Account" ng-change="resetCredits()">Account &nbsp;&nbsp;&nbsp;
<input type="radio" ng-model="creditRuleType" value="tags" ng-change="resetCredits()">Tags
</td>
<td width="50%">
<span>{{ 'label.debit.rule.type' | translate }}</span>&nbsp;
<input type="radio" ng-model="debitRuleType" value="Account" ng-change="resetDebits()">Account &nbsp;&nbsp;&nbsp;
<input type="radio" ng-model="debitRuleType" value="tags" ng-change="resetDebits()">Tags
</td>
</tr>
<tr>
<td>
<div ng-show="creditRuleType=='Account'">
<select class="input-medium" ng-model="formData.accountToCredit" ng-options="creditAccount.name for creditAccount in glAccounts" ></select>
</div>
<div ng-show="creditRuleType=='tags'">
<label for="allowMultipleCreditEntries">{{ 'label.allowMultipleCreditEntries' | translate}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" ng-model="formData.allowMultipleCreditEntries"></label>
<select class="input-medium" ng-model="formData.creditTagTemplate" ng-options="creditTag.name for creditTag in creditTagOptions" ></select>
&nbsp; <a ng-click="addCreditTag()">&nbsp;<i class="icon-plus icon-white"></i></a>
<br>
<div ng-repeat="crTag in formData.creditTags">
<input type="text" class="input-medium" ng-model="crTag.name" readonly>
<a ng-click="removeCrTag($index)">&nbsp;<i class="icon-remove icon-white"></i></a>
</div>
</div>
</td>
<td>
<div ng-show="debitRuleType=='Account'">
<select class="input-medium" ng-model="formData.accountToDebit" ng-options="debitAccount.name for debitAccount in glAccounts" ></select>
</div>
<div ng-show="debitRuleType=='tags'">
<label for="allowMultipleDebitEntries">{{ 'label.allowMultipleDebitEntries' | translate}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" ng-model="formData.allowMultipleDebitEntries"></label>
<select class="input-medium" ng-model="formData.debitTagTemplate" ng-options="debitTag.name for debitTag in debitTagOptions" ></select>
&nbsp; <a ng-click="addDebitTag()">&nbsp;<i class="icon-plus icon-white"></i></a>
<br>
<div ng-repeat="dbTag in formData.debitTags">
<input type="text" class="input-medium" ng-model="dbTag.name" readonly>
<a ng-click="removeDebitTag($index)">&nbsp;<i class="icon-remove icon-white"></i></a>
</div>
</div>
</td>
</tr>
</table>
</div>
</div>
<div class="form-actions">
<button type="reset" class="btn">{{ 'label.cancel' | translate }}</button>
<button type="submit" class="btn btn-primary">{{ 'label.save' | translate }}</button>
</div>
</fieldset>
</form>

View File

@ -1,6 +1,13 @@
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/accounting">{{'link.accounting' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/accounting_coa">{{'label.coa' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.createglaccount' | translate}}</li>
</ul>
</div>
<form class="form-horizontal well" ng-controller="AccCreateGLAccountController" ng-submit="submit()">
<fieldset>
<legend>Create GL Account</legend>
<legend>{{'label.createglaccount' | translate}}</legend>
<table width="100%">
<tr>

View File

@ -1,6 +1,15 @@
<form class="form-horizontal well" ng-controller="AccEditRuleController" ng-submit="submit()">
<div ng-controller="AccEditRuleController">
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/accounting">{{'link.accounting' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/accounting_rules">{{'label.accountingrules' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/viewaccrule/{{accountingRuleId}}">{{formData.name}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.accounting.rule.edit.title' | translate}}</li>
</ul>
</div>
<form class="form-horizontal well" ng-submit="submit()">
<fieldset>
<legend>{{ 'label.accounting.rule.title' | translate }}</legend>
<legend>{{ 'label.accounting.rule.edit.title' | translate }}</legend>
<div class="control-group">
<label class="control-label" for="name">{{ 'label.accounting.rule.name' | translate }}</label>
<div class="controls">
@ -86,3 +95,4 @@
</div>
</fieldset>
</form>
</div>

View File

@ -1,99 +1,109 @@
<form class="form-horizontal well" ng-controller="AccEditGLAccountController" ng-submit="submit()">
<fieldset>
<legend>Edit GL Account</legend>
<table width="100%">
<tr>
<td>
<div class="control-group">
<label class="control-label" for="name">{{'label.accountname' | translate}}</label>
<div class="controls">
<input type="text" class="input-xlarge" id="name" ng-model="formData.name">
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="control-group">
<label class="control-label" for="glCode">{{'label.glcode' | translate}}</label>
<div class="controls">
<input type="text" class="input-xlarge" id="glCode" ng-model="formData.glCode">
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="control-group info">
<label class="control-label" for="type">{{ 'label.accounttype' | translate }}</label>
<div class="controls">
<select ng-model="formData.type" class="input-xlarge" ng-options="accountType.value for accountType in accountTypes" value="{{accountType.id}}" ng-change="changeType(formData.type.id)">
</select>
<div ng-controller="AccEditGLAccountController">
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/accounting">{{'link.accounting' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/accounting_coa">{{'label.coa' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/viewglaccount/{{glAccountId}}">{{formData.name}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.editglaccount' | translate}}</li>
</ul>
</div>
<form class="form-horizontal well" ng-submit="submit()">
<fieldset>
<legend>Edit GL Account</legend>
<table width="100%">
<tr>
<td>
<div class="control-group">
<label class="control-label" for="name">{{'label.accountname' | translate}}</label>
<div class="controls">
<input type="text" class="input-xlarge" id="name" ng-model="formData.name">
</div>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="control-group info">
<label class="control-label" for="tag">{{'label.tag' | translate}}</label>
<div class="controls">
<select ng-model="formData.tag" class="input-xlarge" ng-options="tag.name for tag in tags" value="{{tag.id}}">
</select>
</td>
</tr>
<tr>
<td>
<div class="control-group">
<label class="control-label" for="glCode">{{'label.glcode' | translate}}</label>
<div class="controls">
<input type="text" class="input-xlarge" id="glCode" ng-model="formData.glCode">
</div>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="control-group info">
<label class="control-label" for="usage">{{'label.accountusage' | translate}}</label>
<div class="controls">
<select ng-model="formData.usage" class="input-xlarge" ng-options="usageType.value for usageType in usageTypes" value="{{usageType.id}}">
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="control-group info">
<label class="control-label" for="parent">{{'label.parent' | translate}}</label>
<div class="controls">
<select ng-model="formData.parent" class="input-xlarge" ng-options="headerType.name for headerType in headerTypes" value="{{headerType.id}}">
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="control-group">
<label class="control-label" for="manualEntriesAllowed">{{'label.manualentriesallowed' | translate}}</label>
</td>
</tr>
<tr>
<td>
<div class="control-group info">
<label class="control-label" for="type">{{ 'label.accounttype' | translate }}</label>
<div class="controls">
<label class="checkbox">
<input type="checkbox" ng-model="formData.manualEntriesAllowed">
</label>
<select ng-model="formData.type" class="input-xlarge" ng-options="accountType.value for accountType in accountTypes" value="{{accountType.id}}" ng-change="changeType(formData.type.id)">
</select>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="control-group">
<label class="control-label" for="description">{{'label.description' | translate}}</label>
</div>
</td>
</tr>
<tr>
<td>
<div class="control-group info">
<label class="control-label" for="tag">{{'label.tag' | translate}}</label>
<div class="controls">
<textarea id="description" class="input-xlarge" name="description" ng-model="formData.description" rows="4" cols=""></textarea>
<select ng-model="formData.tag" class="input-xlarge" ng-options="tag.name for tag in tags" value="{{tag.id}}">
</select>
</div>
</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td>
<div class="control-group info">
<label class="control-label" for="usage">{{'label.accountusage' | translate}}</label>
<div class="controls">
<select ng-model="formData.usage" class="input-xlarge" ng-options="usageType.value for usageType in usageTypes" value="{{usageType.id}}">
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="control-group info">
<label class="control-label" for="parent">{{'label.parent' | translate}}</label>
<div class="controls">
<select ng-model="formData.parent" class="input-xlarge" ng-options="headerType.name for headerType in headerTypes" value="{{headerType.id}}">
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="control-group">
<label class="control-label" for="manualEntriesAllowed">{{'label.manualentriesallowed' | translate}}</label>
<div class="controls">
<label class="checkbox">
<input type="checkbox" ng-model="formData.manualEntriesAllowed">
</label>
</div>
</div>
</td>
</tr>
<tr>
<td>
<div class="control-group">
<label class="control-label" for="description">{{'label.description' | translate}}</label>
<div class="controls">
<textarea id="description" class="input-xlarge" name="description" ng-model="formData.description" rows="4" cols=""></textarea>
</div>
</div>
</td>
</tr>
</table>
<div class="form-actions">
<button type="reset" class="btn">Cancel</button>
<button type="submit" class="btn btn-primary">Save</button>
</div>
</fieldset>
</form>
<div class="form-actions">
<button type="reset" class="btn">Cancel</button>
<button type="submit" class="btn btn-primary">Save</button>
</div>
</fieldset>
</form>
</div>

View File

@ -1,3 +1,9 @@
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/accounting">{{'link.accounting' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.journalentry.posting.title' | translate}}</li>
</ul>
</div>
<form class="form-horizontal well" ng-controller="AccFreqPostingController" ng-submit="submit()">
<fieldset>
<legend>{{ 'label.journalentry.posting.title' | translate }}</legend>

View File

@ -1,4 +1,11 @@
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/accounting">{{'link.accounting' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.journalentry.posting.title' | translate}}</li>
</ul>
</div>
<form class="form-horizontal well" ng-controller="JournalEntryController" ng-submit="submit()">
</div>
<fieldset>
<legend>{{ 'label.journalentry.posting.title' | translate }}</legend>
<div class="control-group info">

View File

@ -1,4 +1,10 @@
<div ng-controller="SearchTransactionController">
<div>
<ul class="breadcrumb">
<li><a href="#/accounting">{{'link.accounting' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.searchjournalentries' | translate}}</li>
</ul>
</div>
<div class="row alert-block span" >
<span class="input-append">
<input ng-model="formData.transactionId" type="text" class="input-xlarge" placeholder="Search by transaction #" />

View File

@ -1,5 +1,12 @@
<div ng-controller="ViewAccRuleController">
<div class="row paddedtop">
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/accounting">{{'link.accounting' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/accounting_rules">{{'label.accountingrules' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{rule.name}}</li>
</ul>
</div>
<div>
<div class="pull-right">
<div class="btn-group">
<a href="#/editaccrule/{{rule.id}}" class="btn btn-primary"><i class="icon-edit icon-white"></i> Edit</a>

View File

@ -1,5 +1,12 @@
<div ng-controller="AccViewGLAccountContoller">
<div class="row paddedtop">
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/accounting">{{'link.accounting' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/accounting_coa">{{'label.coa' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{glaccount.name}}</li>
</ul>
</div>
<div class="paddedbottom">
<div class="pull-right">
<div class="btn-group">
<a href="#/editglaccount/{{glaccount.id}}" class="btn btn-primary"><i class="icon-edit icon-white"></i> Edit</a>

View File

@ -1,6 +1,12 @@
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/users">{{'link.admin.users' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.createuser' | translate}}</li>
</ul>
</div>
<form class="form-horizontal well" ng-controller="CreateUserController" ng-submit="submit()">
<fieldset>
<legend>Create User</legend>
<legend>{{'label.createuser' | translate}}</legend>
<div class="control-group">
<label class="control-label" for="username">User Name</label>
<div class="controls">

View File

@ -1,6 +1,14 @@
<form class="form-horizontal well" ng-controller="EditUserController" ng-submit="submit()">
<div ng-controller="EditUserController">
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/clients">{{'link.admin.users' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/viewuser/{{userId}}">{{formData.firstname}}{{formData.lastname}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.edituser' | translate}}</li>
</ul>
</div>
<form class="form-horizontal well" ng-submit="submit()">
<fieldset>
<legend>Edit User</legend>
<legend>{{'label.edituser' | translate}}</legend>
<div class="control-group">
<label class="control-label" for="username">User Name</label>
@ -53,3 +61,4 @@
</div>
</fieldset>
</form>
</div>

View File

@ -5,7 +5,7 @@
<h4 class="list-group-item-heading"><i class="icon-building icon-large"></i>&nbsp;&nbsp;Manage Offices</h4>
<p class="list-group-item-text">Add new office or modify or inactivate office or modify office heirarchy</p>
</a>
<a class="list-group-item" href="#/managehol">
<a class="list-group-item" href="#/holidays">
<h4 class="list-group-item-heading"><i class="icon-calendar icon-large"></i>&nbsp;&nbsp;Manage Holidays</h4>
<p class="list-group-item-text">Define holidys for offices</p>
</a>
@ -17,11 +17,11 @@
</div>
<div class="span6">
<div class="list-group">
<a class="list-group-item" href="#/viewcurrconfig">
<a class="list-group-item" href="#/currconfig">
<h4 class="list-group-item-heading"><i class="icon-large icon-cogs"></i>&nbsp;&nbsp;Currency Configuration</h4>
<p class="list-group-item-text">Currencies availble across organiation for diferent products like loan, fees etc</p>
</a>
<a class="list-group-item" href="#/managefunds">
<a class="list-group-item" href="#/funds">
<h4 class="list-group-item-heading"><i class="icon-large icon-money"></i>&nbsp;&nbsp;Manage Funds</h4>
<p class="list-group-item-text">Funds are associated with loans</p>
</a>

View File

@ -1,3 +1,9 @@
<div>
<ul class="breadcrumb">
<li><a href="#/system">{{'link.admin.system' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.managedatatables' | translate}}</li>
</ul>
</div>
<div class="row alert-block span" >
<input ng-model="filterText" type="text" class="form-control" placeholder="Filter by name">
<div class="span4 pull-right">

View File

@ -1,34 +1,43 @@
<div id="viewlptop">
<div class="row paddedtop">
<div class="pull-right">
<div class="btn-group">
<a href="#" class="btn btn-primary"><i class="icon-edit icon-white"></i> {{'button.edit' | translate}}</a>
<a href="#" class="btn btn-primary"><i class="icon-trash icon-white"></i> {{'button.delete' | translate}}</a>
</div>
<div ng-controller="ViewDataTableController">
<div id="viewlptop">
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/system">{{'link.admin.system' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/datatables">{{'label.managedatatables' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{datatable.registeredTableName}}</li>
</ul>
</div>
<div class="row">
<div class="pull-right">
<div class="btn-group">
<a href="#" class="btn btn-primary"><i class="icon-edit icon-white"></i> {{'button.edit' | translate}}</a>
<a href="#" class="btn btn-primary"><i class="icon-trash icon-white"></i> {{'button.delete' | translate}}</a>
</div>
</div>
</div>
</div>
<div class="row alert-block span" ng-controller="ViewDataTableController">
<legend>{{datatable.registeredTableName}}</legend>
<strong>{{'label.associatedwith' | translate}}</strong>&nbsp;&nbsp;{{datatable.applicationTableName}}
<table class="table" ui:sortable>
<thead>
<tr>
<th>{{'table.heading.fieldname' | translate}}</th>
<th>{{'table.heading.type' | translate}}</th>
<th>{{'table.heading.length' | translate}}</th>
<th>{{'table.heading.code' | translate}}</th>
<th>{{'table.heading.mandatory' | translate}}</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="column in datatable.columnHeaderData | filter:filterText">
<td>{{column.columnName}}</td>
<td>{{column.columnType}}</td>
<td>{{column.columnLength}}</td>
<td>{{column.code}}</td>
<td>{{column.isColumnNullable}}</td>
</tr>
</tbody>
</table>
</div>
<div class="row alert-block span">
<legend>{{datatable.registeredTableName}}</legend>
<strong>{{'label.associatedwith' | translate}}</strong>&nbsp;&nbsp;{{datatable.applicationTableName}}
<table class="table" ui:sortable>
<thead>
<tr>
<th>{{'table.heading.fieldname' | translate}}</th>
<th>{{'table.heading.type' | translate}}</th>
<th>{{'table.heading.length' | translate}}</th>
<th>{{'table.heading.code' | translate}}</th>
<th>{{'table.heading.mandatory' | translate}}</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="column in datatable.columnHeaderData | filter:filterText">
<td>{{column.columnName}}</td>
<td>{{column.columnType}}</td>
<td>{{column.columnLength}}</td>
<td>{{column.code}}</td>
<td>{{column.isColumnNullable}}</td>
</tr>
</tbody>
</table>
</div>
</div></div>

View File

@ -1,3 +1,8 @@
<div>
<ul class="breadcrumb">
<li class="active">{{'link.admin.users' | translate}}</li>
</ul>
</div>
<div class="row alert-block span" >
<input ng-model="filterText" type="text" class="form-control" placeholder="Filter by name">
<div class="span4 pull-right">

View File

@ -1,6 +1,11 @@
<div ng-controller="ViewUserController">
<div class="row paddedtop">
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/users">{{'link.admin.users' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{user.firstname}}&nbsp;{{user.lastname}}</li>
</ul>
</div>
<div class="row">
<div class="pull-right">
<div class="btn-group">
<a href="#/edituser/{{user.id}}" class="btn btn-primary"><i class="icon-edit icon-white"></i> Edit</a>

View File

@ -1,6 +1,6 @@
<form class="form-horizontal well" ng-controller="CreateClientController" ng-submit="submit()">
<fieldset>
<legend>Create Client</legend>
<legend>{{'label.createclient' | translate}}</legend>
<div class="control-group info">
<label class="control-label" for="office">Office</label>
<div class="controls">

View File

@ -1,6 +1,6 @@
<form class="form-horizontal well" ng-controller="EditClientController" ng-submit="submit()">
<fieldset>
<legend>Edit Client</legend>
<legend>{{'label.editclient' | translate}}</legend>
<table width="100%">
<tr>
<td>

View File

@ -21,7 +21,6 @@
<small>Belongs to "{{client.officeName}}" office</small>
</li>
</ul>
<div>
<div>
<tabset style="margin-bottom: 0px;">
<tab heading="Accounts">

View File

@ -1,3 +1,10 @@
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/organization">{{'link.admin.organisation' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/employees">{{'label.manageemployees' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.createemployee' | translate}}</li>
</ul>
</div>
<form class="form-horizontal well" ng-controller="CreateEmployeeController" ng-submit="submit()">
<fieldset>
<legend>Create Employee</legend>

View File

@ -1,6 +1,13 @@
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/organization">{{'link.admin.organisation' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/holidays">{{'label.manageholidays' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.createholiday' | translate}}</li>
</ul>
</div>
<form class="form-horizontal well" ng-controller="AddHolController" ng-submit="submit()">
<fieldset>
<legend>Add Office</legend>
<legend>{{'label.createholiday' | translate}}</legend>
<table>
<tr>
<td>

View File

@ -1,6 +1,13 @@
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/organization">{{'link.admin.organisation' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/offices">{{'label.manageoffices' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.createoffice' | translate}}</li>
</ul>
</div>
<form class="form-horizontal well" ng-controller="CreateOfficeController" ng-submit="submit()">
<fieldset>
<legend>Create Office</legend>
<legend>{{'label.createoffice' | translate}}</legend>
<table>
<tr>
<td>

View File

@ -1,41 +1,54 @@
<h3>Currency configuration</h3>
<div class="row alert-block span" ng-controller="CurrencyConfigController">
<div ng-hide="hideview">
<div class="span4 pull-right">
<a ng-click="hideview = !hideview" class="btn btn-primary"><i class="icon-plus icon-white"></i> Edit</a>
</div>
<br><br>
<table class="table" ui:sortable>
<thead>
<tr>
<th>Currency Name</th>
<th>Currency Code</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="currency in selectedCurrOptions | filter:filterText">
<td>{{currency.name}}</td>
<td>{{currency.code}}</td>
</tr>
</tbody>
</table>
<div ng-controller="CurrencyConfigController">
<div ng-hide="hideview">
<ul class="breadcrumb">
<li><a href="#/organization">{{'link.admin.organisation' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.currencyconfig' | translate}}</li>
</ul>
</div>
<div ng-show="hideview">
<input class="form-control input-xxlarge"
ng-model="selected"
placeholder="New Currency"
type="text"
typeahead="item as item.displayLabel for item in allCurrOptions | filter:$viewValue | limitTo:8" />&nbsp;&nbsp;<a ng-click='addCur()'><i class="icon-plus"></i></a>
<div ng-repeat="currency in selectedCurrOptions">
<input disabled="" class="form-control input-xxlarge" placeholder={{currency.displayLabel}}} type="text"/>&nbsp;&nbsp;<a ng-click='deleteCur(currency.code)'><i class="icon-remove"></i></a>
<ul class="breadcrumb">
<li><a href="#/organization">{{'link.admin.organisation' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.editcurrencyconfig' | translate}}</li>
</ul>
</div>
<div class="row alert-block span">
<div ng-hide="hideview">
<div class="span4 pull-right">
<a ng-click="hideview = !hideview" class="btn btn-primary"><i class="icon-plus icon-white"></i> Edit</a>
</div>
<br><br>
<table class="table" ui:sortable>
<thead>
<tr>
<th>Currency Name</th>
<th>Currency Code</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="currency in selectedCurrOptions | filter:filterText">
<td>{{currency.name}}</td>
<td>{{currency.code}}</td>
</tr>
</tbody>
</table>
</div>
<div ng-show="hideview">
<div class="span5 pull-right">
<button type="reset" class="btn">Cancel</button>
<button type="submit" ng-click="submit()" class="btn btn-primary">Save</button>
</div>
</div>
<input class="form-control input-xxlarge"
ng-model="selected"
placeholder="New Currency"
type="text"
typeahead="item as item.displayLabel for item in allCurrOptions | filter:$viewValue | limitTo:8" />&nbsp;&nbsp;<a ng-click='addCur()'><i class="icon-plus"></i></a>
<div ng-repeat="currency in selectedCurrOptions">
<input disabled="" class="form-control input-xxlarge" placeholder={{currency.displayLabel}}} type="text"/>&nbsp;&nbsp;<a ng-click='deleteCur(currency.code)'><i class="icon-remove"></i></a>
</div>
<div class="span5 pull-right">
<button type="reset" class="btn">Cancel</button>
<button type="submit" ng-click="submit()" class="btn btn-primary">Save</button>
</div>
</div>
</div>
</div>

View File

@ -1,4 +1,13 @@
<form class="form-horizontal well" ng-controller="EditEmployeeController" ng-submit="submit()">
<div ng-controller="EditEmployeeController">
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/organization">{{'link.admin.organisation' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/employees">{{'label.manageemployees' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/viewemployee/{{staffId}}">{{formData.firstname}}&nbsp;{{formData.lastname}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.createemployee' | translate}}</li>
</ul>
</div>
<form class="form-horizontal well" ng-submit="submit()">
<fieldset>
<legend>Edit Employee</legend>
@ -40,3 +49,4 @@
</fieldset>
</form>
</div>

View File

@ -1,4 +1,10 @@
<div class="row alert-block span" >
<div>
<ul class="breadcrumb">
<li><a href="#/organization">{{'link.admin.organisation' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.manageemployees' | translate}}&nbsp;&nbsp;{{employee.lastname}}</li>
</ul>
</div>
<div class="row alert-block span">
<input ng-model="filterText" type="text" class="form-control" placeholder="Filter by name">
<div class="span4 pull-right">
<a href="#/createemployee" class="btn btn-primary"><i class="icon-plus icon-white"></i> {{ 'link.create.new.employee' | translate }}</a>

View File

@ -1,4 +1,9 @@
<h3>Manage Funds</h3>
<div>
<ul class="breadcrumb">
<li><a href="#/organization">{{'link.admin.organisation' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.managefunds' | translate}}</li>
</ul>
</div>
<div class="row alert-block span" ng-controller="ManageFundsController">
<div>
<input class="form-control input-xxlarge"

View File

@ -1,8 +1,14 @@
<h3>Holidays</h3>
<div>
<ul class="breadcrumb">
<li><a href="#/organization">{{'link.admin.organisation' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.manageholidays' | translate}}</li>
</ul>
</div>
<div class="row alert-block span">
<input ng-model="filterText" type="text" class="form-control" placeholder="Filter by Office Name"/>
<div class="span4 pull-right">
<a href="#/addhol" class="btn btn-primary"><i class="icon-plus icon-white"></i>Add Holiday</a>
<a href="#/createholiday" class="btn btn-primary"><i class="icon-plus icon-white"></i>{{'label.createholiday' | translate}}</a>
</div>
</div>
<div class="row alert-block span" data-ng-controller="HolController">
@ -17,7 +23,7 @@
</thead>
<tbody>
<tr data-ng-repeat="holiday in holidays | filter:filterText">
<td><a href="#/viewhol/{{holiday.id}}">{{holiday.name}}</a></td>
<td><a href="#/viewholiday/{{holiday.id}}">{{holiday.name}}</a></td>
<td>{{holiday.fromDate}}</td>
<td>{{holiday.toDate}}</td>
<td>{{holiday.repaymentsScheduleTO}}</td>

View File

@ -1,3 +1,9 @@
<div>
<ul class="breadcrumb">
<li><a href="#/organization">{{'link.admin.organisation' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.manageoffices' | translate}}</li>
</ul>
</div>
<div class="row alert-block span" >
<input ng-model="filterText" type="text" class="form-control" placeholder="Filter by name/externalId">
<div class="span4 pull-right">

View File

@ -1,12 +1,19 @@
<div ng-controller="ViewEmployeeController">
<div class="row paddedtop">
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/organization">{{'link.admin.organisation' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/employees">{{'label.manageemployees' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{employee.firstname}}&nbsp;&nbsp;{{employee.lastname}}</li>
</ul>
</div>
<div class="row">
<div class="pull-right">
<div class="btn-group">
<a href="#/editemployee/{{employee.id}}" class="btn btn-primary"><i class="icon-edit icon-white"></i> Edit</a>
<a href="#" class="btn btn-primary"><i class="icon-trash icon-white"></i> Delete</a>
</div>
</div>
</div>
</div>
<div class="row paddedleft">
<h3>{{employee.displayName}}</h3>

View File

@ -1,5 +1,12 @@
<div ng-controller="ViewOfficeController">
<div class="row paddedtop">
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/organization">{{'link.admin.organisation' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/offices">{{'label.manageoffices' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{office.name}}</li>
</ul>
</div>
<div class="row">
<div class="pull-right">
<div class="btn-group">
<a href="#" class="btn btn-primary"><i class="icon-edit icon-white"></i> Edit</a>

View File

@ -1,3 +1,9 @@
<div>
<ul class="breadcrumb">
<li><a href="#/products">{{'link.admin.products' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.charges' | translate}}</li>
</ul>
</div>
<div class="row alert-block span" >
<input ng-model="filterText" type="text" class="form-control" placeholder="Filter by name">
<div class="span4 pull-right">

View File

@ -1,4 +1,9 @@
<div>
<ul class="breadcrumb">
<li><a href="#/products">{{'link.admin.products' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'link.products.loanproducts' | translate}}</li>
</ul>
</div>
<div class="row alert-block span" >
<input ng-model="filterText" type="text" class="form-control" placeholder="Filter by name/fundname">
<div class="span4 pull-right">

View File

@ -1,3 +1,9 @@
<div>
<ul class="breadcrumb">
<li><a href="#/products">{{'link.admin.products' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'link.products.savingproducts' | translate}}</li>
</ul>
</div>
<div class="row alert-block span" >
<input ng-model="filterText" type="text" class="form-control" placeholder="Filter by name">
<div class="span4 pull-right">

View File

@ -1,14 +1,21 @@
<div>
<div class="row paddedtop">
<div class="pull-right">
<div class="btn-group">
<a href="#" class="btn btn-primary"><i class="icon-edit icon-white"></i> Edit</a>
<a href="#" class="btn btn-primary"><i class="icon-trash icon-white"></i> Delete</a>
</div>
</div>
</div>
<div class="row paddedleft" ng-controller="ViewChargeController">
<hr/>
<div ng-controller="ViewChargeController">
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/products">{{'link.admin.products' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/charges">{{'label.charges' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{charge.name}}</li>
</ul>
</div>
<div class="row">
<div class="pull-right">
<div class="btn-group">
<a href="#" class="btn btn-primary"><i class="icon-edit icon-white"></i> Edit</a>
<a href="#" class="btn btn-primary"><i class="icon-trash icon-white"></i> Delete</a>
</div>
</div>
</div>
<div class="row paddedleft">
<table width="40%">
<tr>
<td>

View File

@ -1,186 +1,194 @@
<div id="viewlptop">
<div class="row paddedtop">
<div class="pull-right">
<div class="btn-group">
<a href="#" class="btn btn-primary"><i class="icon-edit icon-white"></i> Edit</a>
<a href="#" class="btn btn-primary"><i class="icon-trash icon-white"></i> Delete</a>
</div>
</div>
</div>
<div class="row paddedleft" ng-controller="ViewLoanProductController">
<legend>{{loanproduct.name}}</legend>
<table width="100%">
<tr>
<td>
<a id="test" name="test" class="old-syle-anchor">&nbsp;</a>
</td>
</tr>
<tr class="bottomborder">
<td colspan="4">
<strong>Details</strong>
</td>
</tr>
<tr class="toppadding">
<td>Description :</td>
<td colspan="3">{{loanproduct.description}}</td>
</tr>
<tr>
<td>FundName :</td>
<td colspan="3">{{loanproduct.fundName}}</td>
</tr>
<tr>
<td>Start date :</td>
<td colspan="3">{{loanproduct.startDate}}</td>
</tr>
<tr>
<td>Close date :</td>
<td colspan="3">{{loanproduct.closeDate}}</td>
</tr>
<tr>
<td>IncludeInBorrowerCycle :</td>
<td colspan="3">{{loanproduct.includeInBorrowerCycle}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr class="bottomborder"><td colspan="4"><strong>Terms</strong></td></tr>
<tr class="toppadding">
<td>Currency :</td>
<td colspan="3">{{loanproduct.currency.name}}</td>
</tr>
<tr>
<td>Decimal Places :</td>
<td colspan="3">{{loanproduct.currency.decimalPlaces}}</td>
</tr>
<tr>
<td>Principal :</td>
<td colspan="3">{{loanproduct.principal}}&nbsp;&nbsp;&nbsp;( Min:{{loanproduct.minPrincipal}}&nbsp;, Max :{{loanproduct.maxPrincipal}} )</td>
</tr>
<tr>
<td># Of Repayments :</td>
<td colspan="3">{{loanproduct.numberOfRepayments}}&nbsp;&nbsp;&nbsp;( Min:{{loanproduct.minNumberOfRepayments}}&nbsp;, Max:{{loanproduct.maxNumberOfRepayments}})</td>
</tr>
<tr>
<td>Repaid Every :</td>
<td colspan="3">{{loanproduct.repaymentEvery}}&nbsp;&nbsp;{{loanproduct.repaymentFrequencyType.value}}</td>
</tr>
<tr>
<td>Nominal interest rate % :</td>
<td colspan="3">{{loanproduct.interestRatePerPeriod}}&nbsp;&nbsp;&nbsp;( Min:{{loanproduct.minInterestRatePerPeriod}}&nbsp;, Max:{{loanproduct.maxInterestRatePerPeriod}})&nbsp;&nbsp;{{loanproduct.interestRateFrequencyType.value}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr class="bottomborder"><td colspan="4"><strong>Settings</strong></td></tr>
<tr class="toppadding">
<td>Amortization :</td>
<td colspan="3">{{loanproduct.amortizationType.value}}</td>
</tr>
<tr>
<td>Interest method :</td>
<td colspan="3">{{loanproduct.interestType.value}}</td>
</tr>
<tr>
<td>Interest calculation period :</td>
<td colspan="3">{{loanproduct.interestCalculationPeriodType.value}}</td>
</tr>
<tr>
<td>Arrears tolerance :</td>
<td colspan="3">{{loanproduct.inArrearsTolerance}}</td>
</tr>
<tr>
<td>Repayment strategy :</td>
<td colspan="3">{{loanproduct.transactionProcessingStrategyName}}</td>
</tr>
<tr>
<td>Grace :</td>
<td colspan="3">{{loanproduct.}}</td>
</tr>
<tr>
<td>Interest-Free Period(s) :</td>
<td colspan="3">{{loanproduct.}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr class="bottomborder"><td colspan="4"><strong>Charges</strong></td></tr>
<tr class="bottomborder graybg">
<td>Name</td>
<td>Type</td>
<td>Amount</td>
<td>Collected on</td>
</tr>
<tr ng-repeat="charge in loanproduct.charges">
<td>{{charge.name}}</td>
<td>{{charge.chargeCalculationType.value}}</td>
<td>{{charge.amount}}</td>
<td>{{charge.chargeTimeType.value}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr class="bottomborder"><td><strong>Accounting</strong></td><td colspan="3"><span ng-hide="hasAccounting"> None</span></td></tr>
<tr><td colspan="4">
<table width="100%" ng-show="hasAccounting">
<tr class="toppadding">
<td>Fund Source :</td>
<td colspan="3">{{loanproduct.accountingMappings.fundSourceAccountId}}</td>
</tr>
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/products">{{'link.admin.products' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/loanproducts">{{'link.products.loanproducts' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{loanproduct.name}}</li>
</ul>
</div>
<div id="viewlptop">
<div class="row">
<div class="pull-right">
<div class="btn-group">
<a href="#" class="btn btn-primary"><i class="icon-edit icon-white"></i> Edit</a>
<a href="#" class="btn btn-primary"><i class="icon-trash icon-white"></i> Delete</a>
</div>
</div>
</div>
<div>
<legend>{{loanproduct.name}}</legend>
<table width="100%">
<tr>
<td>Loan Portfolio :</td>
<td colspan="3">{{loanproduct.accountingMappings.loanPortfolioAccountId}}</td>
</tr>
<tr>
<td>Income from Interest :</td>
<td colspan="3">{{loanproduct.accountingMappings.interestOnLoanAccountId}}</td>
</tr>
<tr>
<td>Income from Fees :</td>
<td colspan="3">{{loanproduct.accountingMappings.incomeFromFeeAccountId}}</td>
</tr>
<tr>
<td>Income from Penalties :</td>
<td colspan="3">{{loanproduct.accountingMappings.incomeFromPenaltyAccountId}}</td>
</tr>
<tr>
<td>Losses Written Off :</td>
<td colspan="3">{{loanproduct.accountingMappings.writeOffAccountId}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr>
<td>
Advance accounting rules
<td>
<a id="test" name="test" class="old-syle-anchor">&nbsp;</a>
</td>
</tr>
<tr class="bottomborder">
<td colspan="4">
<strong>Details</strong>
</td>
</tr>
<tr class="toppadding bottomborder"><td colspan="4">Fund sources for payment channels</td></tr>
<tr class="toppadding">
<td>Description :</td>
<td colspan="3">{{loanproduct.description}}</td>
</tr>
<tr>
<td>FundName :</td>
<td colspan="3">{{loanproduct.fundName}}</td>
</tr>
<tr>
<td>Start date :</td>
<td colspan="3">{{loanproduct.startDate}}</td>
</tr>
<tr>
<td>Close date :</td>
<td colspan="3">{{loanproduct.closeDate}}</td>
</tr>
<tr>
<td>IncludeInBorrowerCycle :</td>
<td colspan="3">{{loanproduct.includeInBorrowerCycle}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr class="bottomborder"><td colspan="4"><strong>Terms</strong></td></tr>
<tr class="toppadding">
<td>Currency :</td>
<td colspan="3">{{loanproduct.currency.name}}</td>
</tr>
<tr>
<td>Decimal Places :</td>
<td colspan="3">{{loanproduct.currency.decimalPlaces}}</td>
</tr>
<tr>
<td>Principal :</td>
<td colspan="3">{{loanproduct.principal}}&nbsp;&nbsp;&nbsp;( Min:{{loanproduct.minPrincipal}}&nbsp;, Max :{{loanproduct.maxPrincipal}} )</td>
</tr>
<tr>
<td># Of Repayments :</td>
<td colspan="3">{{loanproduct.numberOfRepayments}}&nbsp;&nbsp;&nbsp;( Min:{{loanproduct.minNumberOfRepayments}}&nbsp;, Max:{{loanproduct.maxNumberOfRepayments}})</td>
</tr>
<tr>
<td>Repaid Every :</td>
<td colspan="3">{{loanproduct.repaymentEvery}}&nbsp;&nbsp;{{loanproduct.repaymentFrequencyType.value}}</td>
</tr>
<tr>
<td>Nominal interest rate % :</td>
<td colspan="3">{{loanproduct.interestRatePerPeriod}}&nbsp;&nbsp;&nbsp;( Min:{{loanproduct.minInterestRatePerPeriod}}&nbsp;, Max:{{loanproduct.maxInterestRatePerPeriod}})&nbsp;&nbsp;{{loanproduct.interestRateFrequencyType.value}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr class="bottomborder"><td colspan="4"><strong>Settings</strong></td></tr>
<tr class="toppadding">
<td>Amortization :</td>
<td colspan="3">{{loanproduct.amortizationType.value}}</td>
</tr>
<tr>
<td>Interest method :</td>
<td colspan="3">{{loanproduct.interestType.value}}</td>
</tr>
<tr>
<td>Interest calculation period :</td>
<td colspan="3">{{loanproduct.interestCalculationPeriodType.value}}</td>
</tr>
<tr>
<td>Arrears tolerance :</td>
<td colspan="3">{{loanproduct.inArrearsTolerance}}</td>
</tr>
<tr>
<td>Repayment strategy :</td>
<td colspan="3">{{loanproduct.transactionProcessingStrategyName}}</td>
</tr>
<tr>
<td>Grace :</td>
<td colspan="3">{{loanproduct.}}</td>
</tr>
<tr>
<td>Interest-Free Period(s) :</td>
<td colspan="3">{{loanproduct.}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr class="bottomborder"><td colspan="4"><strong>Charges</strong></td></tr>
<tr class="bottomborder graybg">
<td>Payment Type</td>
<td colspan="3">Fund Source</td>
<td>Name</td>
<td>Type</td>
<td>Amount</td>
<td>Collected on</td>
</tr>
<tr ng-repeat="paymentChannel in loanproduct.paymentChannelToFundSourceMappings">
<td>{{paymentChannel.paymentTypeId}}</td>
<td colspan="3">{{paymentChannel.fundSourceAccountId}}</td>
<tr ng-repeat="charge in loanproduct.charges">
<td>{{charge.name}}</td>
<td>{{charge.chargeCalculationType.value}}</td>
<td>{{charge.amount}}</td>
<td>{{charge.chargeTimeType.value}}</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr class="toppadding bottomborder"><td colspan="4">Fees to Specific Income accounts</td></tr>
<tr class="bottomborder graybg">
<td>Fee</td>
<td colspan="3">Income Account</td>
</tr>
<tr ng-repeat="feeToIncomeAccount in loanproduct.feeToIncomeAccountMappings">
<td>{{feeToIncomeAccount.chargeId}}</td>
<td colspan="3">{{feeToIncomeAccount.incomeAccountId}}</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr class="toppadding bottomborder"><td colspan="4">Penalties to Specific income accounts</td></tr>
<tr class="bottomborder graybg"><td>Penalty</td><td colspan="3">Income Account</td></tr>
<tr ng-repeat="penaltyToIncomeAccount in loanproduct.penaltyToIncomeAccountMappings">
<td>{{penaltyToIncomeAccount.chargeId}}</td>
<td colspan="3">{{penaltyToIncomeAccount.incomeAccountId}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr class="bottomborder"><td><strong>Accounting</strong></td><td colspan="3"><span ng-hide="hasAccounting"> None</span></td></tr>
<tr><td colspan="4">
<table width="100%" ng-show="hasAccounting">
<tr class="toppadding">
<td width="28%">Fund Source :</td>
<td colspan="3" width="40%">{{loanproduct.accountingMappings.fundSourceAccountId}}</td>
</tr>
<tr>
<td>Loan Portfolio :</td>
<td colspan="3">{{loanproduct.accountingMappings.loanPortfolioAccountId}}</td>
</tr>
<tr>
<td>Income from Interest :</td>
<td colspan="3">{{loanproduct.accountingMappings.interestOnLoanAccountId}}</td>
</tr>
<tr>
<td>Income from Fees :</td>
<td colspan="3">{{loanproduct.accountingMappings.incomeFromFeeAccountId}}</td>
</tr>
<tr>
<td>Income from Penalties :</td>
<td colspan="3">{{loanproduct.accountingMappings.incomeFromPenaltyAccountId}}</td>
</tr>
<tr>
<td>Losses Written Off :</td>
<td colspan="3">{{loanproduct.accountingMappings.writeOffAccountId}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr>
<td>
Advance accounting rules
</td>
</tr>
<tr class="toppadding bottomborder"><td colspan="4">Fund sources for payment channels</td></tr>
<tr class="bottomborder graybg">
<td>Payment Type</td>
<td colspan="3">Fund Source</td>
</tr>
<tr ng-repeat="paymentChannel in loanproduct.paymentChannelToFundSourceMappings">
<td>{{paymentChannel.paymentTypeId}}</td>
<td colspan="3">{{paymentChannel.fundSourceAccountId}}</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr class="toppadding bottomborder"><td colspan="4">Fees to Specific Income accounts</td></tr>
<tr class="bottomborder graybg">
<td>Fee</td>
<td colspan="3">Income Account</td>
</tr>
<tr ng-repeat="feeToIncomeAccount in loanproduct.feeToIncomeAccountMappings">
<td>{{feeToIncomeAccount.chargeId}}</td>
<td colspan="3">{{feeToIncomeAccount.incomeAccountId}}</td>
</tr>
<tr><td colspan="4"></td></tr>
<tr class="toppadding bottomborder"><td colspan="4">Penalties to Specific income accounts</td></tr>
<tr class="bottomborder graybg"><td>Penalty</td><td colspan="3">Income Account</td></tr>
<tr ng-repeat="penaltyToIncomeAccount in loanproduct.penaltyToIncomeAccountMappings">
<td>{{penaltyToIncomeAccount.chargeId}}</td>
<td colspan="3">{{penaltyToIncomeAccount.incomeAccountId}}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3">
</td>
<td class="pull-right">
<a ng-click="scrollto('viewlptop')"><i class="icon-upload"></i> Top</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3">
</td>
<td class="pull-right">
<a ng-click="scrollto('viewlptop')"><i class="icon-upload"></i> Top</a>
</td>
</tr>
</table>
</div>
</div>

View File

@ -1,136 +1,144 @@
<div id="viewlptop">
<div class="row paddedtop">
<div class="pull-right">
<div class="btn-group">
<a href="#" class="btn btn-primary"><i class="icon-edit icon-white"></i> Edit</a>
<a href="#" class="btn btn-primary"><i class="icon-trash icon-white"></i> Delete</a>
</div>
</div>
</div>
<div class="row paddedleft" ng-controller="ViewSavingProductController">
<legend>{{savingproduct.name}}</legend>
<table width="100%">
<tr>
<td>
<a id="test" name="test" class="old-syle-anchor">&nbsp;</a>
</td>
</tr>
<tr class="bottomborder">
<td colspan="4">
<strong>{{'label.heading.details' | translate}}</strong>
</td>
</tr>
<tr class="toppadding">
<td>{{'label.description' | translate}}</td>
<td colspan="3">{{savingproduct.description}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr class="bottomborder"><td colspan="4"><strong>{{'label.heading.tems' | translate}}</strong></td></tr>
<tr class="toppadding">
<td>{{'label.currency' | translate}}</td>
<td colspan="3">{{savingproduct.currency.name}}</td>
</tr>
<tr>
<td>{{'label.decimalplaces' | translate}}</td>
<td colspan="3">{{savingproduct.currency.decimalPlaces}}</td>
</tr>
<tr>
<td>{{'label.currencyinmultiplesof' | translate}}</td>
<td colspan="3">{{savingproduct.currency.inMultiplesOf}}</td>
</tr>
<tr>
<td>{{'label.nominalannualinterestrate' | translate}}</td>
<td colspan="3">{{savingproduct.nominalAnnualInterestRate}}</td>
</tr>
<tr>
<td>{{'label.interestcompoundingperiod' | translate}}</td>
<td colspan="3">{{savingproduct.interestCompoundingPeriodType.value}}</td>
</tr>
<tr>
<td>{{'label.interestpostingperiod' | translate}}</td>
<td colspan="3">{{savingproduct.interestPostingPeriodType.value}}</td>
</tr>
<tr>
<td>{{'label.interestcalculatedusing' | translate}}</td>
<td colspan="3">{{savingproduct.interestCalculationType.value}}</td>
</tr>
<tr>
<td>{{'label.daysinyears' | translate}}</td>
<td colspan="3">{{savingproduct.interestCalculationDaysInYearType.value}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr class="bottomborder"><td colspan="4"><strong>{{'label.heading.settings' | translate}}</strong></td></tr>
<tr class="toppadding">
<td>{{'label.minimumopeningbalance' | translate}}</td>
<td colspan="3">{{loanproduct.minRequiredOpeningBalances}}</td>
</tr>
<tr>
<td>{{'label.lockinPeriodFrequency' | translate}}</td>
<td>{{savingproduct.lockinPeriodFrequency}}</td>&nbsp;
<td>{{savingproduct.lockinPeriodFrequencyType.value}}</td>
</tr>
<tr>
<td>{{'label.withdrawfee' | translate}}</td>
<td>{{savingproduct.withdrawalFeeAmount}}</td>
<td>{{savingproduct.withdrawalFeeType.value}}</td>
</tr>
<tr>
<td>{{'label.annualfee' | translate}}</td>
<td>{{savingproduct.annualFeeAmount}}</td>&nbsp;
</tr>
<tr>
<td>{{'label.annualfeeon' | translate}}</td>
<td>{{savingproduct.annualFeeOnMonthDay}}</td>
<div id="viewlptop">
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/products">{{'link.admin.products' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/savingproducts">{{'link.products.savingproducts' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{savingproduct.name}}</li>
</ul>
</div>
<div class="row">
<div class="pull-right">
<div class="btn-group">
<a href="#" class="btn btn-primary"><i class="icon-edit icon-white"></i> Edit</a>
<a href="#" class="btn btn-primary"><i class="icon-trash icon-white"></i> Delete</a>
</div>
</div>
</div>
<div>
<legend>{{savingproduct.name}}</legend>
<table width="100%">
<tr>
<td>
<a id="test" name="test" class="old-syle-anchor">&nbsp;</a>
</td>
</tr>
<tr class="bottomborder">
<td colspan="4">
<strong>{{'label.heading.details' | translate}}</strong>
</td>
</tr>
<tr class="toppadding">
<td>{{'label.description' | translate}}</td>
<td colspan="3">{{savingproduct.description}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr class="bottomborder"><td colspan="4"><strong>{{'label.heading.tems' | translate}}</strong></td></tr>
<tr class="toppadding">
<td>{{'label.currency' | translate}}</td>
<td colspan="3">{{savingproduct.currency.name}}</td>
</tr>
<tr>
<td>{{'label.decimalplaces' | translate}}</td>
<td colspan="3">{{savingproduct.currency.decimalPlaces}}</td>
</tr>
<tr>
<td>{{'label.currencyinmultiplesof' | translate}}</td>
<td colspan="3">{{savingproduct.currency.inMultiplesOf}}</td>
</tr>
<tr>
<td>{{'label.nominalannualinterestrate' | translate}}</td>
<td colspan="3">{{savingproduct.nominalAnnualInterestRate}}</td>
</tr>
<tr>
<td>{{'label.interestcompoundingperiod' | translate}}</td>
<td colspan="3">{{savingproduct.interestCompoundingPeriodType.value}}</td>
</tr>
<tr>
<td>{{'label.interestpostingperiod' | translate}}</td>
<td colspan="3">{{savingproduct.interestPostingPeriodType.value}}</td>
</tr>
<tr>
<td>{{'label.interestcalculatedusing' | translate}}</td>
<td colspan="3">{{savingproduct.interestCalculationType.value}}</td>
</tr>
<tr>
<td>{{'label.daysinyears' | translate}}</td>
<td colspan="3">{{savingproduct.interestCalculationDaysInYearType.value}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr class="bottomborder"><td colspan="4"><strong>{{'label.heading.settings' | translate}}</strong></td></tr>
<tr class="toppadding">
<td>{{'label.minimumopeningbalance' | translate}}</td>
<td colspan="3">{{loanproduct.minRequiredOpeningBalances}}</td>
</tr>
<tr>
<td>{{'label.lockinPeriodFrequency' | translate}}</td>
<td>{{savingproduct.lockinPeriodFrequency}}</td>&nbsp;
<td>{{savingproduct.lockinPeriodFrequencyType.value}}</td>
</tr>
<tr>
<td>{{'label.withdrawfee' | translate}}</td>
<td>{{savingproduct.withdrawalFeeAmount}}</td>
<td>{{savingproduct.withdrawalFeeType.value}}</td>
</tr>
<tr>
<td>{{'label.annualfee' | translate}}</td>
<td>{{savingproduct.annualFeeAmount}}</td>&nbsp;
</tr>
<tr>
<td>{{'label.annualfeeon' | translate}}</td>
<td>{{savingproduct.annualFeeOnMonthDay}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr class="bottomborder"><td><strong>{{'label.heading.accounting' | translate}}</strong></td><td colspan="3"><span ng-hide="hasAccounting"> None</span></td></tr>
<tr>
<td colspan="4">
<table width="100%" ng-show="hasAccounting">
<tr class="toppadding">
<td>{{'label.savingsreference' | translate}}({{'label.assets' | translate}})</td>
<td colspan="3">{{savingproduct.accountingMappings.savingsReferenceAccountId}}</td>
</tr>
<tr>
<td>{{'label.savingscontrol' | translate}}({{'label.liabilities' | translate}})</td>
<td colspan="3">{{savingproduct.accountingMappings.savingsControlAccountId}}</td>
</tr>
<tr>
<td>{{'label.interestonsavings' | translate}}({{'label.expenses' | translate}})</td>
<td colspan="3">{{savingproduct.accountingMappings.savingsReferenceAccountId}}</td>
</tr>
<tr>
<td>{{'label.incomefromfee' | translate}}({{'label.income' | translate}})</td>
<td colspan="3">{{savingproduct.accountingMappings.incomeFromFeeAccountId}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr>
<td>
{{'label.advancedaccountingrules' | translate}}
</td>
</tr>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr class="bottomborder"><td><strong>{{'label.heading.accounting' | translate}}</strong></td><td colspan="3"><span ng-hide="hasAccounting"> None</span></td></tr>
<tr>
<td colspan="4">
<table width="100%" ng-show="hasAccounting">
<tr class="toppadding">
<td>{{'label.savingsreference' | translate}}({{'label.assets' | translate}})</td>
<td colspan="3">{{savingproduct.accountingMappings.savingsReferenceAccountId}}</td>
</tr>
<tr>
<td>{{'label.savingscontrol' | translate}}({{'label.liabilities' | translate}})</td>
<td colspan="3">{{savingproduct.accountingMappings.savingsControlAccountId}}</td>
</tr>
<tr>
<td>{{'label.interestonsavings' | translate}}({{'label.expenses' | translate}})</td>
<td colspan="3">{{savingproduct.accountingMappings.savingsReferenceAccountId}}</td>
</tr>
<tr>
<td>{{'label.incomefromfee' | translate}}({{'label.income' | translate}})</td>
<td colspan="3">{{savingproduct.accountingMappings.incomeFromFeeAccountId}}</td>
</tr>
<tr><td colspan="4"><br/></td></tr>
<tr>
<td>
{{'label.advancedaccountingrules' | translate}}
</td>
</tr>
<tr class="toppadding bottomborder"><td colspan="4">{{'label.heading.configurefundsourcesforpaymentchannels' | translate}}</td></tr>
<tr class="bottomborder graybg">
<td>{{'label.heading.paymenttype' | translate}}</td>
<td colspan="3">{{'label.heading.fundsource' | translate}}</td>
</tr>
<tr ng-repeat="paymentChannel in savingproduct.paymentChannelToFundSourceMappings">
<td>{{paymentChannel.paymentTypeId}}</td>
<td colspan="3">{{paymentChannel.fundSourceAccountId}}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3">
</td>
<td class="pull-right">
<a ng-click="scrollto('viewlptop')"><i class="icon-upload"></i> Top</a>
</td>
</tr>
</table>
<tr class="toppadding bottomborder"><td colspan="4">{{'label.heading.configurefundsourcesforpaymentchannels' | translate}}</td></tr>
<tr class="bottomborder graybg">
<td>{{'label.heading.paymenttype' | translate}}</td>
<td colspan="3">{{'label.heading.fundsource' | translate}}</td>
</tr>
<tr ng-repeat="paymentChannel in savingproduct.paymentChannelToFundSourceMappings">
<td>{{paymentChannel.paymentTypeId}}</td>
<td colspan="3">{{paymentChannel.fundSourceAccountId}}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3">
</td>
<td class="pull-right">
<a ng-click="scrollto('viewlptop')"><i class="icon-upload"></i> Top</a>
</td>
</tr>
</table>
</div>
</div>

View File

@ -1,6 +1,13 @@
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/system">{{'link.admin.system' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/codes">{{'label.managecodes' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.addcode' | translate}}</li>
</ul>
</div>
<form class="form-horizontal well" ng-controller="AddCodeController" ng-submit="submit()">
<fieldset>
<legend>Add Code</legend>
<legend>{{'label.addcode' | translate}}</legend>
<div>
<label class="control-label" for="codename">Code Name</label>
<div class="controls">

View File

@ -1,5 +1,9 @@
<h3>Code Name</h3>
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/system">{{'link.admin.system' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.managecodes' | translate}}</li>
</ul>
</div>
<div class="span4 pull-right">
<a href="#/addcode" class="btn btn-primary"><i class="icon-plus icon-white"></i>Add Code</a>
</div>

View File

@ -1,5 +1,13 @@
<div ng-controller="EditCodeController" ng-submit="submit()">
<h3>Edit&nbsp;{{code.name}}</h3>
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/system">{{'link.admin.system' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/codes">{{'label.managecodes' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/viewcode/{{codeId}}">{{code.name}}</a> <span class="divider">/</span></li>
<li class="active">{{'label.editcode' | translate}}</li>
</ul>
</div>
<h3>{{'label.editcode' | translate}}</h3>
<form>
<input ng-model="newEle.name" placeholder="Code Value" type="text"/>&nbsp;&nbsp;<input ng-model="newEle.position"
placeholder="Position" type="text"/>&nbsp;&nbsp;

View File

@ -1,5 +1,12 @@
<div ng-controller="ViewCodeController">
<div class="row paddedtop">
<div class="paddedbottom10">
<ul class="breadcrumb">
<li><a href="#/system">{{'link.admin.system' | translate}}</a> <span class="divider">/</span></li>
<li><a href="#/codes">{{'label.managecodes' | translate}}</a> <span class="divider">/</span></li>
<li class="active">{{code.name}}</li>
</ul>
</div>
<div class="row">
<div class="pull-right">
<div class="btn-group">
<a href="#/editcode/{{code.id}}" class="btn btn-primary"><i class="icon-edit icon-white"></i> Edit</a>

View File

@ -125,7 +125,7 @@
<li class="dropdown" id="preview-menu">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-wrench"></i>{{ 'link.admin' | translate }}<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#/userslist">{{ 'link.admin.users' | translate }}</a></li>
<li><a href="#/users">{{ 'link.admin.users' | translate }}</a></li>
<li><a href="#/organization">{{ 'link.admin.organisation' | translate }}</a></li>
<li><a href="#/system">{{ 'link.admin.system' | translate }}</a></li>
<li><a href="#/products">{{ 'link.admin.products' | translate }}</a></li>

View File

@ -9,6 +9,7 @@
resourceFactory.accountCoaResource.get({glAccountId: routeParams.id, template: 'true'}, function(data) {
scope.coadata = data;
scope.glAccountId = data.id;
scope.accountTypes = data.accountTypeOptions;
scope.usageTypes = data.usageOptions;
scope.formData = {

View File

@ -15,7 +15,7 @@
scope.offices = data.allowedOffices;
scope.creditTagOptions = data.allowedCreditTagOptions;
scope.debitTagOptions = data.allowedDebitTagOptions;
scope.accountingRuleId = data.id;
//update text fields
scope.formData.name = data.name;
scope.formData.description=data.description;

View File

@ -7,6 +7,7 @@
resourceFactory.codeResources.get({codeId: routeParams.id} , function(data) {
scope.code = data;
scope.codeId = data.id;
});
resourceFactory.codeValueResource.getAllCodeValues({codeId: routeParams.id} , function(data) {

View File

@ -5,6 +5,7 @@
resourceFactory.employeeResource.get({staffId: routeParams.id, template: 'true'} , function(data) {
scope.offices = data.allowedOffices;
scope.staffId = data.id;
scope.formData = {
firstname : data.firstname,
lastname : data.lastname,

View File

@ -7,6 +7,7 @@
scope.selectedRoles = [];
resourceFactory.userListResource.get({userId: routeParams.id, template: 'true'} , function(data) {
scope.formData = data;
scope.userId = data.id;
scope.offices = data.allowedOffices;
scope.availableRoles = data.availableRoles.concat(data.selectedRoles);
scope.selectedRoles = data.selectedRoles;

View File

@ -8,7 +8,6 @@
scope.client = data;
resourceFactory.runReportsResource.get({reportSource: 'ClientSummary',genericResultSet: 'false',R_clientId: routeParams.id} , function(data) {
scope.client.ClientSummary = data[0];
console.log(scope.client.ClientSummary);
});
});
resourceFactory.clientAccountResource.get({clientId: routeParams.id} , function(data) {

View File

@ -8,7 +8,7 @@
scope.deleteuser = function (){
resourceFactory.userListResource.delete({userId: routeParams.id} , {} , function(data) {
location.path('/userslist');
location.path('/users');
// added dummy request param because Content-Type header gets removed
// if the request does not contain any data (a request body)
});

View File

@ -73,7 +73,7 @@
.when('/tasks', {
templateUrl: 'html/tasks.html'
})
.when('/viewcurrconfig', {
.when('/currconfig', {
templateUrl: 'html/organization/currencyconfig.html'
})
.when('/search/:query', {
@ -85,7 +85,7 @@
.when('/usersetting', {
templateUrl: 'html/administration/usersettings.html'
})
.when('/userslist/', {
.when('/users/', {
templateUrl: 'html/administration/userslist.html'
})
.when('/createuser/', {
@ -109,8 +109,8 @@
.when('/createemployee/', {
templateUrl: 'html/organization/createemployee.html'
})
.when('/managefunds/', {
templateUrl: 'html/organization/managefunds.html'
.when('/funds/', {
templateUrl: 'html/organization/funds.html'
})
.when('/nav/offices', {
templateUrl: 'html/navigation/offices.html'
@ -172,11 +172,11 @@
.when('/editcode/:id', {
templateUrl: 'html/system/editcode.html'
})
.when('/managehol', {
templateUrl: 'html/organization/managehol.html'
.when('/holidays', {
templateUrl: 'html/organization/holidays.html'
})
.when('/addhol', {
templateUrl: 'html/organization/addhol.html'
.when('/createholiday', {
templateUrl: 'html/organization/createholiday.html'
})
.when('/viewhol/:id', {
templateUrl: 'html/organization/viewhol.html'