|
@@ -136,53 +136,70 @@ export class ExistingReportComponent implements OnInit {
|
|
|
<title>تقرير المركبات الموجوده</title>
|
|
|
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"> </link>
|
|
|
<style>
|
|
|
- //........Customized style.......
|
|
|
- .table {
|
|
|
- display:none;
|
|
|
- }
|
|
|
-
|
|
|
- .h1 {
|
|
|
- width:600px;
|
|
|
- }
|
|
|
- .head{
|
|
|
- margin-bottom: 10px;
|
|
|
- width:100%;
|
|
|
- }
|
|
|
- .logo2{
|
|
|
- float: right;
|
|
|
- width:200px;
|
|
|
- margin-right: 20px;
|
|
|
- }
|
|
|
- .logo1{
|
|
|
- float: left;
|
|
|
- margin-left: 20px;
|
|
|
- }
|
|
|
- table{
|
|
|
+ .row{
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ margin-right: -15px;
|
|
|
+ margin-left: -15px;
|
|
|
+ }
|
|
|
+ .col-6{
|
|
|
+ float: right;
|
|
|
+ flex: 0 0 50%;
|
|
|
+ max-width: 50%
|
|
|
+ }
|
|
|
+ .col-12{
|
|
|
+ flex-basis: 0;
|
|
|
+ flex-grow: 1;
|
|
|
+ max-width: 100%;
|
|
|
+ }
|
|
|
+ table {
|
|
|
+ font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
|
|
|
+ border-collapse: collapse;
|
|
|
+ width: 100%;
|
|
|
+ direction: rtl;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
- }
|
|
|
- table, th, td {
|
|
|
- border: 1px solid black;
|
|
|
- border-collapse: collapse;
|
|
|
- width:600px;
|
|
|
- position: relative;
|
|
|
- top: 50%
|
|
|
- }
|
|
|
- th, td {
|
|
|
- padding: 5px;
|
|
|
-
|
|
|
- }
|
|
|
- .title{
|
|
|
- }
|
|
|
+ table td, table th {
|
|
|
+ border: 1px solid #ddd;
|
|
|
+ padding: 8px;
|
|
|
+ }
|
|
|
+
|
|
|
+ table tr:nth-child(even){background-color: #f2f2f2;}
|
|
|
+
|
|
|
+ table tr:hover {background-color: #ddd;}
|
|
|
+
|
|
|
+ table th {
|
|
|
+ padding-top: 12px;
|
|
|
+ padding-bottom: 12px;
|
|
|
+ text-align: center;
|
|
|
+ background-color: #4CAF50;
|
|
|
+ color: white;
|
|
|
+
|
|
|
+ }
|
|
|
</style>
|
|
|
</head>
|
|
|
<body onload="window.print();window.close()">
|
|
|
-
|
|
|
- <img class="logo1" src="../../assets/image/logo2.png">
|
|
|
- <img class="logo2" src="../../assets/image/logo1.png">
|
|
|
-
|
|
|
- <h1>تقرير المركبات الموجوده</h1>
|
|
|
-
|
|
|
- ${printContents}
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-6">
|
|
|
+ <img class="logo1" src="../../assets/image/logo2.png">
|
|
|
+ </div>
|
|
|
+ <div class="col-6" style="float: right">
|
|
|
+ <img class="logo2" src="../../assets/image/logo1.png">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-12" style="width:100%;text-align: center">
|
|
|
+ <h1>تقرير المركبات الموجوده</h1>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="row">
|
|
|
+ <div class="col-12">
|
|
|
+ ${printContents}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</body>
|
|
|
</html>`
|
|
|
);
|