mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-16 19:40:44 +01:00
Fix eliminazione fattura di acquisto
This commit is contained in:
parent
a276ebf065
commit
6d260839a3
@ -733,7 +733,7 @@ if (!empty($note_accredito)) {
|
||||
|
||||
<?php
|
||||
// Eliminazione ddt solo se ho accesso alla sede aziendale
|
||||
$field_name = ($dir == 'entrata') ? 'idsede_partenza' : 'idsede_uscita';
|
||||
$field_name = ($dir == 'entrata') ? 'idsede_partenza' : 'idsede_destinazione';
|
||||
if (in_array($record[$field_name], $user->sedi)) {
|
||||
?>
|
||||
<a class="btn btn-danger ask" data-backto="record-list">
|
||||
|
Loading…
x
Reference in New Issue
Block a user