Avem acum si o functie care da compania curenta:
// Comapny::current compania curenta;
if (Comapny::current()->isDblEntryAcc()) {
// is SRL
} else {
// is PFA
}
if (Comapny::current()->useVAT()) {
// foloseste TVA
} else {
// nu foloseste TVA
}
Categories: Uncategorized |
Leave a Reply
[TOP]