diff --git a/AstuteClient2/src/app/invoice-gen/invoice-gen.component.css b/AstuteClient2/src/app/invoice-gen/invoice-gen.component.css index dedc174..4864a90 100644 --- a/AstuteClient2/src/app/invoice-gen/invoice-gen.component.css +++ b/AstuteClient2/src/app/invoice-gen/invoice-gen.component.css @@ -9,16 +9,21 @@ /*-moz-box-sizing: border-box;*/ /*}*/ .page { - width: 21cm; - min-height: 29.7cm; + width: 215.9mm; + height: 279.4mm; padding: 2cm; margin: 1cm auto; border: 1px #D3D3D3 solid; - border-radius: 5px; + border-radius: 2px; background: white; box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); font-size: 11pt; } + +@media print { + * { display:none; } + .page * { display:block; } +} /*.subpage {*/ /*padding: 1cm;*/ /*border: 5px red solid;*/ diff --git a/AstuteClient2/src/app/invoice-gen/invoice-gen.component.html b/AstuteClient2/src/app/invoice-gen/invoice-gen.component.html index 51e76a3..d0477c8 100644 --- a/AstuteClient2/src/app/invoice-gen/invoice-gen.component.html +++ b/AstuteClient2/src/app/invoice-gen/invoice-gen.component.html @@ -1,57 +1,65 @@ +
-
-
- Astute Engineering -
-
-

INVOICE

-
-
+ + + + + +
Astute Engineering

INVOICE

+ + + + + + + +
-
-
-

To,

-

{{name}}

-

{{email}}

-

{{address}}

-
-
-

Purchase Order No.:

-

Contract No.:

-

Invoice No.:

-

Invoice Date:

-
-
-

{{poNum}}

-

{{coNum}}

-

{{inNum}}

-

{{inDate}}

-
-
+ + + + + + + +
+

To,

+

{{name}}

+

{{email}}

+

{{address}}

+
+

Purchase Order No.:

+

Contract No.:

+

Invoice No.:

+

Invoice Date:

+
+

{{poNum}}

+

{{coNum}}

+

{{inNum}}

+

{{inDate}}

+

-
- - - - - - - - - - - - - - - - - - - -
No.DescriptionHourly RateHours ExpendedInvoice Amount
{{inDet.lineItemNum}}{{inDet.desc}}${{inDet.anount}}.00-${{inDet.anount}}.00
-
+ + + + + + + + + + + + + + + + + + + +
No.DescriptionFeeQuantityAmount
{{inDet.lineItemNum}}{{inDet.desc}}${{inDet.fee}}{{(inDet.feeTypeId == 2) ? ' /hr' : ''}}{{inDet.qty}}${{inDet.qty * inDet.fee}}.00

@@ -80,12 +88,6 @@ - - - - - - @@ -111,12 +113,13 @@ -
-
+
   
Amount This Invoice{{inAmt}}  
Balance to be Billed {{balToBeBill}}