This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfdi:Comprobante | |
xmlns:cfdi="http://www.sat.gob.mx/cfd/3" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
version="3.2" | |
serie="a" | |
folio="21505357055" | |
fecha="2017-02-16T23:59:59" | |
tipoDeComprobante="ingreso" | |
formaDePago="Pago en una sola exhibición" | |
subTotal="0.08" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Obtener valores XMl, para actualizar factura.*/ | |
$xml = simplexml_load_file("$xmlTimbradosPath/timbrado_$id_factura.xml"); | |
$ns = $xml->getNamespaces(true); | |
$xml->registerXPathNamespace('c', $ns['cfdi']); | |
$xml->registerXPathNamespace('t', $ns['tfd']); | |
foreach ($xml->xpath('//t:TimbreFiscalDigital') as $tfd) { | |
$factura['selloCFD']=$tfd['selloCFD']; | |
$factura['FechaTimbrado']=$tfd['FechaTimbrado']; | |
$factura['UUID']=$tfd['UUID']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="es"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Buscador</title> | |
</head> | |
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> | |
<script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bola = { | |
r:30, col:color(224, 85, 168), | |
x:190, y:80, | |
rep:0, sube:false | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.cenit.android.pos"> | |
<uses-permission android:name="android.permission.CAMERA" /> | |
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | |
<uses-feature android:name="android.hardware.camera" /> | |
<uses-feature android:name="android.hardware.camera.autofocus" /> | |
<application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.cenit.android.pos.basedatos; | |
import com.cenit.android.pos.basedatos.entidades.Categoria; | |
import com.cenit.android.pos.basedatos.entidades.Estado; | |
import com.cenit.android.pos.basedatos.entidades.Impuesto; | |
import com.cenit.android.pos.basedatos.entidades.MetodoPago; | |
import com.cenit.android.pos.basedatos.entidades.Moneda; | |
import com.cenit.android.pos.basedatos.entidades.Pais; | |
import com.cenit.android.pos.basedatos.entidades.Unidad; | |
import com.cenit.android.pos.procesos.Informacion; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:layout_marginLeft="40dp" | |
android:layout_marginRight="40dp" | |
android:orientation="vertical"> | |
<EditText | |
android:id="@+id/nombres" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@color/blanco" | |
android:orientation="vertical"> | |
<LinearLayout | |
android:layout_width="match_parent" |