mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-01-13 08:58:48 +00:00
cargando carrito desde backend
This commit is contained in:
@ -83,4 +83,14 @@ public class DireccionService {
|
||||
return repo.findById(id);
|
||||
}
|
||||
|
||||
public Boolean checkFreeShipment(Integer cp, String paisCode3) {
|
||||
if(paisCode3.equals("ESP")) {
|
||||
// España peninsular y baleares
|
||||
if(cp != null && cp < 35000 && cp >= 35999) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user