changement au niveau de scan
This commit is contained in:
parent
55e896775d
commit
cb59287bfd
@ -251,7 +251,9 @@ Future<pw.Widget> buildIconGift() async {
|
||||
}
|
||||
|
||||
// Bon de livraison==============================================
|
||||
|
||||
bool verifAdmin() {
|
||||
return userController.role == 'Super Admin';
|
||||
}
|
||||
Future<void> _generateBonLivraison(Commande commande) async {
|
||||
final details = await _database.getDetailsCommande(commande.id!);
|
||||
final client = await _database.getClientById(commande.clientId);
|
||||
@ -372,7 +374,7 @@ Future<void> _generateBonLivraison(Commande commande) async {
|
||||
pw.Text('📞 033 37 808 18', style: tinyTextStyle),
|
||||
pw.Text('🌐 www.guycom.mg', style: tinyTextStyle),
|
||||
pw.SizedBox(height: 2),
|
||||
pw.Text('NIF: 1026/GC78-20-02-22',
|
||||
pw.Text('NIF: 4000106673 - STAT 95210 11 2017 1 003651',
|
||||
style: pw.TextStyle(fontSize: 7, fontWeight: pw.FontWeight.bold)),
|
||||
],
|
||||
),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user