| 1 |
<?php |
<?php |
| 2 |
// $Id$ |
// $Id: storminvoiceitem.module,v 1.1 2008/06/11 12:55:19 robertogerola Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 316 |
|
|
| 317 |
function _storminvoiceitem_invoiceitems_access($node=NULL) { |
function _storminvoiceitem_invoiceitems_access($node=NULL) { |
| 318 |
if ($node == NULL) return FALSE; |
if ($node == NULL) return FALSE; |
| 319 |
if ($node->type == 'storminvoice' && user_access('STORM invoice item: create')) return TRUE; |
if ($node->type == 'storminvoice' && user_access('STORM invoice item: access')) return TRUE; |
| 320 |
return FALSE; |
return FALSE; |
| 321 |
} |
} |
| 322 |
|
|