Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AfacAdminpanel
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ajil
AfacAdminpanel
Commits
17c62d1d
Commit
17c62d1d
authored
5 years ago
by
Ajil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
18/10
parent
7a9f34dc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
list.php
admin/application/views/Garage_response/list.php
+3
-3
garage_quotes.php
...pplication/views/template/mail_template/garage_quotes.php
+2
-2
Garage_request_model.php
garage/application/models/Garage_request_model.php
+1
-0
No files found.
admin/application/views/Garage_response/list.php
View file @
17c62d1d
...
@@ -175,9 +175,9 @@
...
@@ -175,9 +175,9 @@
</thead>
</thead>
<?php
foreach
(
$prod_list
as
$r
)
{
?>
<?php
foreach
(
$prod_list
as
$r
)
{
?>
<?php
if
(
$r
->
quote_type
=
'1'
)
{
$quote_types
=
"BASE"
;}
<?php
if
(
$r
->
quote_type
=
=
'1'
)
{
$quote_types
=
"BASE"
;}
if
(
$r
->
quote_type
=
'2'
)
{
$quote_types
=
"MEDIUM"
;}
if
(
$r
->
quote_type
=
=
'2'
)
{
$quote_types
=
"MEDIUM"
;}
if
(
$r
->
quote_type
=
'3'
)
{
$quote_types
=
"PREMIUM"
;}
?>
if
(
$r
->
quote_type
=
=
'3'
)
{
$quote_types
=
"PREMIUM"
;}
?>
<tbody>
<tbody>
<tr>
<tr>
<td>
<?=
$r
->
quote_code
?>
</td>
<td>
<?=
$r
->
quote_code
?>
</td>
...
...
This diff is collapsed.
Click to expand it.
admin/application/views/template/mail_template/garage_quotes.php
View file @
17c62d1d
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
<th>
Quote Type
</th>
<th>
Quote Type
</th>
<th>
Labour Cost
</th>
<th>
Labour Cost
</th>
<th>
Parts Cost
</th>
<th>
Parts Cost
</th>
<th>
Margin
</th>
<th>
VAT(%)
</th>
<th>
Total
</th>
<th>
Total
</th>
</tr>
</tr>
</thead>
</thead>
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
<td>
<?=
$quoteType
?>
</td>
<td>
<?=
$quoteType
?>
</td>
<td>
<?=
$value
[
'labour_cost'
]
?>
</td>
<td>
<?=
$value
[
'labour_cost'
]
?>
</td>
<td>
<?=
$value
[
'parts_cost'
]
?>
</td>
<td>
<?=
$value
[
'parts_cost'
]
?>
</td>
<td>
<?=
$value
[
'
margin
'
]
?>
</td>
<td>
<?=
$value
[
'
vat
'
]
?>
</td>
<td>
<?=
$value
[
'total'
]
?>
</td>
<td>
<?=
$value
[
'total'
]
?>
</td>
<tr>
<tr>
</tbody>
</tbody>
...
...
This diff is collapsed.
Click to expand it.
garage/application/models/Garage_request_model.php
View file @
17c62d1d
...
@@ -215,6 +215,7 @@ $ttotal=$total_cost+$amtvat;
...
@@ -215,6 +215,7 @@ $ttotal=$total_cost+$amtvat;
'parts_cost'
=>
$parts_cost
[
$i
],
'parts_cost'
=>
$parts_cost
[
$i
],
'quote_type'
=>
$quote_type
[
$i
],
'quote_type'
=>
$quote_type
[
$i
],
'garage_id'
=>
$garage_id
,
'garage_id'
=>
$garage_id
,
'vat'
=>
$vat
,
'total'
=>
$ttotal
,
'total'
=>
$ttotal
,
'quote_code'
=>
random_string
(
'allo'
,
5
),
'quote_code'
=>
random_string
(
'allo'
,
5
),
'req_id'
=>
$req_id
,
'req_id'
=>
$req_id
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment