-
Notifications
You must be signed in to change notification settings - Fork 3
/
PnL.html
403 lines (358 loc) · 15.3 KB
/
PnL.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>COMBook | Profit & Loss</title>
<meta property="og:title" content="COMBook | Profit & Loss">
<meta name="keywords" content="combook, accounting software, acc, accounting, ledger, Trial Balance, Srilanka, Financial Position, Profit and loss, nimash eshan, githmi paranahewa, milan swantra, ashan tharaka, accounting srilanka, srilankan softwares">
<meta property="og:description" content="COMBook is an accounting software package developed by group Perfectly Balanced .COMBook is an web based application designed primarily for small to medium size businesses and enterprises. This software could be used to Report Ledger Balances record them in Trail Balance and, manage accounting books and to prepare financial statements and Profit and loss Comprehensive Statement">
<meta property="og:image" content="https://nimasheshan.tk/assets/img/projects/combook.png">
<meta property="og:site_name" content="combook.tk">
<meta property="og:url" content="https://combook.tk">
<meta property="og:type" content="website">
<meta name="description" content="COMBook is an accounting software package developed by group Perfectly Balanced .COMBook is an web based application designed primarily for small to medium size businesses and enterprises. This software could be used to Report Ledger Balances record them in Trail Balance and, manage accounting books and to prepare financial statements and Profit and loss Comprehensive Statement">
<!-- Boxicons -->
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<!-- My CSS -->
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="./img/icon.ico">
<link rel="stylesheet" href="pnlstyle.css">
</head>
<body>
<script type="text/javascript">
setcolor();
function setcolor() {
let state = window.localStorage.getItem("state");
if (state == null) return
(state === "dark") ? document.body.classList.add('dark') : document.body.classList.remove('dark');
}
</script>
<!-- SIDEBAR -->
<section id="sidebar">
<a href="#" class="brand">
<i class='bx bxs-smile'></i>
<span class="text">COMBook</span>
</a>
<ul class="side-menu top">
<li>
<a href="./index.html">
<i class='bx bxs-dashboard'></i>
<span class="text">Dashboard</span>
</a>
</li>
<li>
<a href="./trans.html">
<i class='bx bxs-shopping-bag-alt'></i>
<span class="text">Ledger Balancess</span>
</a>
</li>
<li>
<a href="./tb.html">
<i class='bx bxs-doughnut-chart'></i>
<span class="text">Trial Balance</span>
</a>
</li>
<li class="active">
<a href="./PnL.html">
<i class='bx bxs-credit-card'></i>
<span class="text">Profit & Loss</span>
</a>
</li>
<li>
<a href="./fps.html">
<i class='bx bxs-bank'></i>
<span class="text">Financial Positions</span>
</a>
</li>
</ul>
<ul class="side-menu">
<li>
<a href="./team.html">
<i class='bx bxs-group'></i>
<span class="text">Our Team</span>
</a>
</li>
<li>
<a href="#" class="logout">
<i class='bx bxs-log-out-circle'></i>
<span class="text">Logout</span>
</a>
</li>
</ul>
</section>
<!-- SIDEBAR -->
<!-- CONTENT -->
<section id="content">
<!-- NAVBAR -->
<nav>
<i class='bx bx-menu'></i>
<a href="#" class="nav-link">Categories</a>
<form action="#">
<div class="form-input">
<input type="search" placeholder="Search...">
<button type="submit" class="search-btn"><i class='bx bx-search'></i></button>
</div>
</form>
<input type="checkbox" id="switch-mode" hidden>
<label for="switch-mode" class="switch-mode"></label>
<a href="#" class="notification">
<i class='bx bxs-bell'></i>
<span class="num">8</span>
</a>
<a href="#" class="profile">
<img src="img/people.png">
</a>
</nav>
<!-- NAVBAR -->
<!-- MAIN -->
<main>
<div class="head-title">
<div class="left">
<h1>Profit and Loss</h1>
<ul class="breadcrumb">
<li>
<a href="#">Home</a>
</li>
<li><i class='bx bx-chevron-right'></i></li>
<li>
<a class="active" href="#">Profit and Loss</a>
</li>
</ul>
</div>
<a href="#" class="btn-download" onClick="window.print(); return false;">
<i class='bx bxs-cloud-download'></i>
<span class="text">PRINT</span>
</a>
</div>
<!--content goes here-->
<!--Company Name-->
<div class="companynamesection">
<h4 class="companyname">Company Name: Araliya PVT Ltd -2021 </h4><br>
</div>
<!--Company Name-->
<!--P&L area-->
<div class="pnlarea">
<!--Sales-->
<div class="salessection">
<table class="shorttable">
<caption class="bold">Sales & Return Inwards</caption>
<tr>
<td class="deleteboder even" colspan="2">Rs</td>
</tr>
<tr>
<td>Sales</td>
<td class="even" id="sales">0</td>
</tr>
<tr>
<td>(-) Return Inwards</td>
<td class="even" id="returnInwards">0</td>
</tr>
<tr class="lastrow">
<td class="lasttabledata">sales</td>
<td class="lasttabledata even" id="SalesTotal">0</td>
</tr>
</table>
<br>
</div>
<!--Sales-->
<!--Expenses-->
<div class="expensessection">
<table class="shorttable">
<caption class="bold">Expenses</caption>
<tr>
<td class="deleteboder even" colspan="2">Rs</td>
</tr>
<!--Administrative Expenses-->
<tbody id="administrative">
<tr class="expensecatgry">
<td>Administrative Expenses</td>
</tr>
<!-- <tr>-->
<!-- <td>Wages & Salaries</td>-->
<!-- <td class="even" id="wagesSalaries">50000.00</td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <td>Electrisity</td>-->
<!-- <td class="even">4000.00</td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <td>Rent Expenses</td>-->
<!-- <td class="even" id="rent">15000.00</td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <td>Rate Expenses</td>-->
<!-- <td class="even" id="rate">2000.00</td>-->
<!-- <td class="even" id="TotalAdminstrativeExpenses">71000.00</td>-->
<!-- </tr>-->
</tbody>
<!--Administrative Expenses-->
<!--Distributing and Selling Expenses-->
<tbody id="distributing">
<tr class="expensecatgry">
<td>Distributing and Selling Expenses</td>
</tr>
<!-- <tr>-->
<!-- <td>Delivery Van-Repaire</td>-->
<!-- <td class="even" id="deliveryVan">2000.00</td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <td>Advertising Expenses</td>-->
<!-- <td class="even" id="advertisement">25000.00</td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <td>Bad Debts</td>-->
<!-- <td class="even" id="badDebts">3000.00</td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <td>Carrage Outwards</td>-->
<!-- <td class="even" id="CarrageOutwards">1500.00</td>-->
<!-- <td class="even" id="TotalDistributingExpenses">31500.00</td>-->
<!-- </tr>-->
</tbody>
<!--Distributing and Selling Expenses-->
<!--Financial Expenses-->
<tbody id="financialExpenses">
<tr class="expensecatgry">
<td>Financial Expenses</td>
</tr>
<!-- <tr>-->
<!-- <td>Bank Charges</td>-->
<!-- <td class="even" id="bankCharges">1000.00</td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <td>Overdtaft Interest</td>-->
<!-- <td class="even" id="Overdraft">400.00</td>-->
<!-- <td class="even" id="financialTotal">1400.00</td>-->
<!-- </tr>-->
</tbody>
<!--Financial Expenses-->
<!--Other Expenses-->
<tbody id="other">
<tr class="expensecatgry">
<td>Other Expenses</td>
</tr>
<!-- <tr>-->
<!-- <td>Sundry Expenses</td>-->
<!-- <td class="even" id="Sundry">200.00</td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <td>Donation</td>-->
<!-- <td class="even" id="Donation">400.00</td>-->
<!-- <td class="even" id="TotalOthers">600.00</td>-->
<!-- </tr>-->
</tbody>
<!-- <!–Other Expenses–>-->
<tr class="lastrow">
<td class="lasttabledata">Total Expenses</td>
<td class="lasttabledata even"></td>
<td class="lasttabledata even" id="TotalExpenses"></td>
</tr>
</table>
<br>
</div>
<!--Expenses-->
<!--Cost of Sales-->
<div class="costofsalessection">
<table class="shorttable">
<caption class="bold">Cost of Sales</caption>
<tr>
<td class="deleteboder even" colspan="2">Rs</td>
</tr>
<tbody id="costofsales">
<!-- <tr>-->
<!-- <td>Opening Stock</td>-->
<!-- <td class="even" id="OpenStock">0</td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <td>Purchase</td>-->
<!-- <td class="even" id="Purchase">0</td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <td>Carry Inwards</td>-->
<!-- <td class="even" id="CarryInwards">0</td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <td>Return Outwards</td>-->
<!-- <td class="even" id="ReturnOutwards">0</td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <td>(-) Closing Inventory</td>-->
<!-- <td class="even" id="CloseInventory">0</td>-->
<!-- </tr>-->
</tbody>
<tr class="lastrow">
<td class="lasttabledata">Total Cost of Sales</td>
<td class="lasttabledata even" id="TotalCostOfSales">0</td>
</tr>
</table>
<br>
</div>
<!--Cost of Sales-->
<!--Income-->
<div class="incomesection">
<table class="shorttable">
<caption class="bold">Income</caption>
<tr>
<td class="deleteboder even" colspan="2">Rs</td>
</tr>
<tbody id="income">
<!-- <tr>-->
<!-- <td>Discount Recived</td>-->
<!-- <td class="even" id="discountrecived">0</td>-->
<!-- </tr>-->
<!-- <tr>-->
<!-- <td>Rent Income</td>-->
<!-- <td class="even" id="rentincome">0</td>-->
<!-- </tr>-->
</tbody>
<!-- <tr>-->
<!-- <td>Profit & Loss</td>-->
<!-- <td class="even" id="profit">150000.00</td>-->
<!-- </tr>-->
<tr class="lastrow">
<td class="lasttabledata">Total Income</td>
<td class="lasttabledata even" id="TotalIncome">0</td>
</tr>
</table>
<br>
</div>
<!--Income-->
<!--Gross Profit-->
<div class="grossprofitsection">
<table class="shorttable">
<tr>
<td class="profit">Gross Profit</td>
<td class="even lastrow bold" style="color:black" id="TotalGrossProfit">0</td>
</tr>
</table>
</div>
<!--Gross Profit-->
<br><br>
<!--Net Profit-->
<div class="netprofitsection">
<table class="shorttable">
<tr>
<td class="profit">Net Profit</td>
<td class="even lastrow bold" style="color:black" id="netprofit">0</td>
</tr>
</table>
</div>
<!--Net Profit-->
</div>
<!--P&L area-->
</main>
<!-- MAIN -->
</section>
<!-- CONTENT -->
</main>
<!-- MAIN -->
</section>
<!-- CONTENT -->
<script src="https://www.gstatic.com/firebasejs/8.10.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.1/firebase-firestore.js"></script>
<script src="script.js"></script>
<script src="PnL.js"></script>
</body>
</html>