projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup in types.inc
[fa-stable.git]
/
fixed_assets
/
includes
/
fixed_assets_db.inc
diff --git
a/fixed_assets/includes/fixed_assets_db.inc
b/fixed_assets/includes/fixed_assets_db.inc
index 11c9c027d50662f5d85d8fbf5c87174f9ca21750..b74dd0017bde111b317c46a314e28102604382e0 100644
(file)
--- a/
fixed_assets/includes/fixed_assets_db.inc
+++ b/
fixed_assets/includes/fixed_assets_db.inc
@@
-17,7
+17,7
@@
function process_fixed_asset_depreciation($stock_id, $gl_rows, $refline, $memo_)
$row = get_item($stock_id);
$old_cost = $row['material_cost'];
$row = get_item($stock_id);
$old_cost = $row['material_cost'];
- begin_transaction();
+ begin_transaction(
__FUNCTION__, func_get_args()
);
$date_ = Today();
if (!is_date_in_fiscalyear($date_))
$date_ = Today();
if (!is_date_in_fiscalyear($date_))