Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: f-marais/STMWeb
base: 7c88454e5d
...
head fork: f-marais/STMWeb
compare: 9f46af3ebd
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 6 files changed
  • 0 commit comments
  • 1 contributor
Commits on Aug 22, 2012
@f-marais c b560392
@f-marais c 9f46af3
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
14 mojo/templates/emdet.html.ep
@@ -0,0 +1,14 @@
+% title 'STM Details:' . param('em');
+% my $rs;
+% $rs = $self->app->schema->resultset('EntityMaster')->search(
+% { 'me.name' => param('em'), 'me.max_version' => 1 },
+% {columns => [qw(author rel_notes version )]});
+% my $row=$rs->next;
+<br><table class="Grid">
+<tr><th class="th" FILTER=ALL align=left>Attribute</th>
+<th class="th" FILTER=ALL align=left>Value</th></tr>
+<tr><td>Author</td><td><%= $row->author %></td></tr>
+<tr><td>Changes</td><td><%= $row->rel_notes %></td></tr>
+<tr><td>Version</td><td><%= $row->version %></td></tr>
+</table>
+<br>
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 = (

No commit comments for this range

Something went wrong with that request. Please try again.