aggiunta preview fattura...
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Vendored
+1
-1
@@ -6,7 +6,7 @@ pipeline {
|
||||
steps {
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=114']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=115']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2017-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2017-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'MedAP'
|
||||
|
||||
@@ -15,6 +15,13 @@
|
||||
// printWindow.print();
|
||||
// printWindow.close();
|
||||
//}
|
||||
function PreviewUrl(idxDoc) {
|
||||
var actPath = document.URL;
|
||||
actPath = actPath.replace('DocArchive', 'Print') + '?tipoDoc=FATT&idxDoc=' + idxDoc;
|
||||
//var printWindow = window.open(actPath.replace('PREN', 'PREN_Print'), '_blank', 'height=600,width=800');
|
||||
var printWindow = window.open(actPath, '_blank ');
|
||||
return false;
|
||||
}
|
||||
function PrintUrl(idxDoc) {
|
||||
var actPath = document.URL;
|
||||
actPath = actPath.replace('DocArchive', 'Print') + '?tipoDoc=FATT&idxDoc=' + idxDoc;
|
||||
@@ -40,8 +47,11 @@
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbIdxDoc1" CommandArgument='<%# Eval("idxDoc") %>' CausesValidation="False" CommandName="Select">
|
||||
<asp:Label ID="lblNum" runat="server" Text='<%# Eval("num","<b>{0:000}</b>") %>' />/<asp:Label ID="lblanno" runat="server" Text='<%# Eval("anno") %>' />
|
||||
<div class="fontSmall"><asp:Label ID="lblEmesso" runat="server" Text='<%# Eval("emesso", "{0:yyyy.MM.dd}") %>'></asp:Label></div>
|
||||
</asp:LinkButton></ItemTemplate><ItemStyle Width="15%" />
|
||||
<div class="fontSmall">
|
||||
<asp:Label ID="lblEmesso" runat="server" Text='<%# Eval("emesso", "{0:yyyy.MM.dd}") %>'></asp:Label></div>
|
||||
</asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
<ItemStyle Width="15%" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="numero" ItemStyle-Width="70%">
|
||||
<ItemTemplate>
|
||||
@@ -58,20 +68,33 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:LinkButton></ItemTemplate><ItemStyle Width="60%"></ItemStyle>
|
||||
</asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
<ItemStyle Width="60%"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="ANTEPR" >
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbtPreviewPdf" OnClientClick='<%# Eval("idxDoc","PreviewUrl({0});") %>'><i class="fa fa-search fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="STAMPA" ItemStyle-Width="5%">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbtPrintPdf" OnClientClick='<%# Eval("idxDoc","PrintUrl({0});") %>'><i class="fa fa-print fa-2x" aria-hidden="true"></i></asp:LinkButton></ItemTemplate></asp:TemplateField><asp:TemplateField HeaderText="importo" SortExpression="netto" ItemStyle-Width="15%">
|
||||
<asp:LinkButton runat="server" ID="lbtPrintPdf" OnClientClick='<%# Eval("idxDoc","PrintUrl({0});") %>'><i class="fa fa-print fa-2x" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
<ItemStyle Width="5%"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="importo" SortExpression="netto" ItemStyle-Width="15%">
|
||||
<ItemTemplate>
|
||||
<div class="row text-nowrap">
|
||||
<div class="col-xs-12 text-right">
|
||||
<asp:LinkButton runat="server" ID="lbIdxDoc3" CommandArgument='<%# Eval("idxDoc") %>' CausesValidation="False" CommandName="Select">
|
||||
<asp:Label ID="lblNetto" runat="server" Text='<%# Eval("netto", "<b>{0:C2}</b>") %>' />
|
||||
</asp:LinkButton></div></div><div class="row fontStd text-nowrap">
|
||||
</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row fontStd text-nowrap">
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<ItemStyle Width="25%"></ItemStyle>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
|
||||
Reference in New Issue
Block a user