Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

c

  • Loading branch information...
commit b560392c026dd582d82f964df3cd76170791da53 1 parent 7c88454
@f-marais authored
View
1  mojo/lib/STM.pm
@@ -5,7 +5,6 @@ use Schema;
use X_Db;
has schema => sub {
- # return Schema->connect('dbi:SQLite:' . ($ENV{TEST_DB} || 'test.db'));
return Schema->connect ( sub {X_Db::connect('MIS') });
};
View
3  mojo/templates/entdet.html.ep
@@ -2,7 +2,8 @@
% my $rs;
% $rs = $self->app->schema->resultset('Entity')->search(
% { 'me.name' => param('ent'),
-% 'em.name' => param('em') },{
+% 'em.name' => param('em'),
+% 'em.max_version' => 1 },{
% join=> 'em',
% columns => [qw(scope type description )]});
% my $row=$rs->next;
View
2  mojo/templates/lobby/login.html.ep
@@ -5,7 +5,7 @@
<table width='20%'><tr><td>Username:</td><td>
%= text_field 'userid'
</td></tr><tr><td>Password:</td><td>
-%= text_field 'password'
+%= password_field 'password'
</td></tr></table><br>
%= submit_button 'Login'
</td><td> </td></tr></table>
View
3  mojo/templates/search.html.ep
@@ -54,7 +54,8 @@
% }
<H3>Entities</H3>
% for my $em_nm (sort keys %ent) {
-<H3><%= $em_nm %></H3> <table><tr>
+<H3><a href=<%== url_for('/emdet?em=' . $em_nm) %> ><%= $em_nm %>
+</a></H3> <table><tr>
<th class="th" FILTER=ALL align=left> Entity </th>
<th class="th" FILTER=ALL align=left> Type </th>
<th class="th" FILTER=ALL align=left> </th>
View
8 script/parsexcel.pl
@@ -371,6 +371,14 @@ =head1 Items per entity master
where a.et_id=b.et_id and b.name like '%MI_STB_REWARD_ALLOCATION_T%'
order by a.seq;
+SELECT me.scope, me.type, me.description
+FROM entity me JOIN entity_master em ON em.em_id = me.em_id
+WHERE ( ( em.name = 'SMART Rewards'
+AND me.name = 'IDMI01.MI_STB_REWARD_ACCT_PURCH_T' ) );
+
+select * from entity
+where name like '%BASE_ACCT_T%';
+
SELECT me.em_id, me.name, me.rel_notes, me.author, me.uploaded, me.version
FROM entity_master me
WHERE version = (
Please sign in to comment.
Something went wrong with that request. Please try again.