#------------------------------------------------------------
# Copyright (C) 2006 RoyaltyShare, Inc.   All Rights Reserved
#------------------------------------------------------------
package Support::SaleFileExplorer::Command::Show;
use strict;
use warnings;

use lib '/app/tools/support/lib';
use base 'Support::Command::Submit';
use Support::SaleFileExplorer::PeriodList;

use lib '/app/tools/common/lib';

use RSApache::Response::XSLT;

sub cmd  { return 'show'; }
sub area { return 'sale_file_explorer'; }

use constant kTemplate => "/app/tools/support/templates/sale_file_explorer/show.xsl";

sub execute {
    my ($self) = @_;

    my $response = $self->SUPER::execute();
    return $response if $response;

    # All this command will do is return the initial template, which establishes
    # the frame set.
    #
    $response = RSApache::Response::XSLT->new( $self->{xml}, kTemplate );

    return $response;
}

1;
