From c68fce19f930b471765a2cd22355ecb6179b39be Mon Sep 17 00:00:00 2001
From: Jay Makwana
Date: Wed, 6 May 2020 19:02:02 +0530
Subject: [PATCH] refactor expenses pdf
---
.../views/app/pdf/reports/expenses.blade.php | 33 ++++++-------------
1 file changed, 10 insertions(+), 23 deletions(-)
diff --git a/resources/views/app/pdf/reports/expenses.blade.php b/resources/views/app/pdf/reports/expenses.blade.php
index 054bd79f..2db27627 100644
--- a/resources/views/app/pdf/reports/expenses.blade.php
+++ b/resources/views/app/pdf/reports/expenses.blade.php
@@ -13,10 +13,6 @@
padding: 0px;
} */
- table {
- border-collapse: collapse;
- }
-
.main-container {
/* padding: 30px 60px; */
}
@@ -25,12 +21,15 @@
padding: 0px 20px;
}
+ table {
+ border-collapse: collapse;
+ }
+
.header {
width: 100%;
}
.heading-text {
- font-style: normal;
font-weight: 600;
font-size: 24px;
color: #5851D8;
@@ -41,7 +40,6 @@
}
.heading-date-range {
- font-style: normal;
font-weight: 600;
font-size: 15px;
color: #A5ACC1;
@@ -52,10 +50,8 @@
}
.sub-heading-text {
- font-style: normal;
font-weight: 600;
font-size: 16px;
- /* line-height: 21px; */
color: #595959;
padding: 0px;
margin: 0px;
@@ -65,8 +61,6 @@
.expenses-title {
margin-top: 60px;
padding-left: 3px;
- font-style: normal;
- font-weight: normal;
font-size: 16px;
line-height: 21px;
color: #040405;
@@ -84,18 +78,14 @@
.expense-title {
padding: 0px;
margin: 0px;
- font-style: normal;
- font-weight: normal;
font-size: 14px;
line-height: 21px;
color: #595959;
}
- .expense-money {
+ .expense-amount {
padding: 0px;
margin: 0px;
- font-style: normal;
- font-weight: normal;
font-size: 14px;
line-height: 21px;
text-align: right;
@@ -118,7 +108,6 @@
padding: 0px;
margin: 0px;
text-align: right;
- font-style: normal;
font-weight: 500;
font-size: 16px;
line-height: 21px;
@@ -126,7 +115,7 @@
color: #040405;
}
- .total-expense-table {
+ .expenses-total-indicator-table {
width: 100%;
margin-top: 40px;
padding: 15px 20px;
@@ -138,18 +127,16 @@
padding: 0px;
margin: 0px;
text-align: left;
- font-style: normal;
font-weight: 600;
font-size: 16px;
line-height: 21px;
color: #595959;
}
- .total-expense-money {
+ .total-expense-amount {
padding: 0px;
margin: 0px;
text-align: right;
- font-style: normal;
font-weight: 500;
font-size: 20px;
line-height: 21px;
@@ -186,7 +173,7 @@
-
+
{!! format_money_pdf($expenseCategory->total_amount) !!}
|
@@ -203,13 +190,13 @@
-
+
|
TOTAL EXPENSE
|
- {!! format_money_pdf($totalExpense) !!}
+ {!! format_money_pdf($totalExpense) !!}
|