Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
invoice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
web2project
invoice
Commits
433881e8
Commit
433881e8
authored
Jan 01, 2013
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new tab "Loss" to record invoices never paid and considered losses.
parent
1e528799
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
503 additions
and
494 deletions
+503
-494
addedit.php
addedit.php
+495
-494
index.php
index.php
+1
-0
projects_tab.invoice.php
projects_tab.invoice.php
+2
-0
vw_loss.php
vw_loss.php
+5
-0
No files found.
addedit.php
View file @
433881e8
This diff is collapsed.
Click to expand it.
index.php
View file @
433881e8
...
...
@@ -45,6 +45,7 @@ $tabBox = new CTabBox( "?m=invoice", dPgetConfig('root_dir') . '/modules/invoice
$tabBox
->
add
(
"vw_open"
,
'Invoices (Open)'
);
$tabBox
->
add
(
"vw_pend"
,
'Invoices (Pending)'
);
$tabBox
->
add
(
"vw_paid"
,
'Invoices (Paid)'
);
$tabBox
->
add
(
"vw_loss"
,
'Invoices (Loss)'
);
$tabBox
->
show
();
?>
projects_tab.invoice.php
View file @
433881e8
...
...
@@ -46,6 +46,8 @@ function showtask_inv( &$a, $level=0 ) {
$invoice_status
=
"Pending"
;
}
elseif
(
$a
[
"invouce_status"
]
==
"2"
)
{
$invoice_status
=
"Paid"
;
}
elseif
(
$a
[
"invouce_status"
]
==
"3"
)
{
^
M
$invoice_status
=
"Loss"
;
}
$start_date
=
strftime
(
$df
,
$a
[
"invoice_date"
]);
...
...
vw_loss.php
0 → 100644
View file @
433881e8
<?php
include
(
"vw_inc.php"
);
echo
invoices
(
3
);
?>
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