traspaso de datos de solicitud a BD

This commit is contained in:
2019-01-18 00:10:46 -06:00
parent 13153dafb3
commit eb5d433236
4 changed files with 203 additions and 155 deletions
+124 -141
View File
@@ -2,12 +2,10 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="a3c96782-c39e-4629-8661-f34ca5efc2af" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/sitio/admin/solicitar.php" afterDir="false" />
<change afterPath="$PROJECT_DIR$/sitio/admin/solicitud/actualizacion.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/index.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/sitio/admin/admin.php" beforeDir="false" afterPath="$PROJECT_DIR$/sitio/admin/admin.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/sitio/admin/alta.php" beforeDir="false" afterPath="$PROJECT_DIR$/sitio/admin/alta.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/sitio/admin/busqueda.php" beforeDir="false" afterPath="$PROJECT_DIR$/sitio/admin/busqueda.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/sitio/admin/solicitar.php" beforeDir="false" afterPath="$PROJECT_DIR$/sitio/admin/solicitud/spapel.php" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
@@ -21,67 +19,42 @@
<entry file="file://$PROJECT_DIR$/sitio/admin/admin.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="154">
<caret line="71" column="74" lean-forward="true" selection-start-line="71" selection-start-column="4" selection-end-line="71" selection-end-column="74" />
<folding>
<element signature="n#style#0;n#h3#0;n#div#2;n#div#0;n#div#0;n#header#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#h1#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#input#0;n#div#0;n#article#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
<caret line="71" column="74" selection-start-line="71" selection-start-column="4" selection-end-line="71" selection-end-column="74" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/sitio/admin/solicitar.php">
<entry file="file://$PROJECT_DIR$/sitio/admin/solicitud/spapel.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="396">
<caret line="78" column="18" selection-start-line="78" selection-start-column="18" selection-end-line="78" selection-end-column="18" />
<state relative-caret-position="2948">
<caret line="134" column="86" selection-start-line="134" selection-start-column="86" selection-end-line="134" selection-end-column="86" />
<folding>
<element signature="n#style#0;n#h1#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/header.php">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret column="16" selection-start-column="16" selection-end-column="16" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/js/main.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="132">
<caret line="6" column="17" selection-start-line="6" selection-start-column="17" selection-end-line="6" selection-end-column="17" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/index.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="21" column="115" selection-start-line="21" selection-start-column="115" selection-end-line="21" selection-end-column="115" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#0;n#tr#0;n#thead#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#1;n#tr#0;n#thead#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#2;n#tr#0;n#thead#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#3;n#tr#0;n#thead#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#4;n#tr#0;n#thead#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#0;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#1;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#2;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#3;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#4;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#form#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#select#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#1;n#form#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#select#0;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/sitio/admin/busqueda.php">
<entry file="file://$PROJECT_DIR$/sitio/admin/solicitud/actualizacion.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="527">
<caret line="36" column="83" selection-start-line="36" selection-start-column="83" selection-end-line="36" selection-end-column="83" />
<folding>
<element signature="n#style#0;n#td#3;n#tr#0;n#thead#0;n#table#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#3;n#tr#0;n#!!top" expanded="true" />
</folding>
<state relative-caret-position="198">
<caret line="9" column="36" selection-start-line="9" selection-start-column="36" selection-end-line="9" selection-end-column="36" />
</state>
</provider>
</entry>
@@ -90,25 +63,28 @@
<entry file="file://$PROJECT_DIR$/sitio/admin/js/busqueda.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418">
<caret line="19" lean-forward="true" selection-start-line="19" selection-end-line="19" />
<caret line="19" selection-start-line="19" selection-end-line="19" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/estilos.css">
<entry file="file://$PROJECT_DIR$/sitio/admin/busqueda.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="211">
<caret line="46" column="4" selection-start-line="46" selection-start-column="4" selection-end-line="46" selection-end-column="4" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/sitio/admin/alta.php">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret selection-end-line="87" selection-end-column="7" />
<state relative-caret-position="22">
<caret line="2" column="14" lean-forward="true" selection-start-line="2" selection-start-column="14" selection-end-line="2" selection-end-column="14" />
<folding>
<element signature="n#style#0;n#td#1;n#tr#0;n#thead#0;n#table#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#2;n#tr#0;n#thead#0;n#table#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#3;n#tr#0;n#thead#0;n#table#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#4;n#tr#0;n#thead#0;n#table#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#5;n#tr#0;n#thead#0;n#table#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#1;n#tr#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#2;n#tr#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#3;n#tr#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#4;n#tr#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#5;n#tr#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
@@ -159,9 +135,12 @@
<option value="$PROJECT_DIR$/estilos.css" />
<option value="$PROJECT_DIR$/sitio/admin/admin.php" />
<option value="$PROJECT_DIR$/sitio/admin/alta.php" />
<option value="$PROJECT_DIR$/sitio/admin/solicitar.php" />
<option value="$PROJECT_DIR$/index.php" />
<option value="$PROJECT_DIR$/sitio/admin/solicitar.php" />
<option value="$PROJECT_DIR$/sitio/admin/spapel.php" />
<option value="$PROJECT_DIR$/sitio/admin/busqueda.php" />
<option value="$PROJECT_DIR$/sitio/admin/solicitud/spapel.php" />
<option value="$PROJECT_DIR$/sitio/admin/solicitud/actualizacion.php" />
</list>
</option>
</component>
@@ -182,7 +161,6 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<expand>
@@ -190,11 +168,6 @@
<item name="Inventario" type="b2602c69:ProjectViewProjectNode" />
<item name="Inventario" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="Inventario" type="b2602c69:ProjectViewProjectNode" />
<item name="Inventario" type="462c0819:PsiDirectoryNode" />
<item name="js" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="Inventario" type="b2602c69:ProjectViewProjectNode" />
<item name="Inventario" type="462c0819:PsiDirectoryNode" />
@@ -211,46 +184,34 @@
<item name="Inventario" type="462c0819:PsiDirectoryNode" />
<item name="sitio" type="462c0819:PsiDirectoryNode" />
<item name="admin" type="462c0819:PsiDirectoryNode" />
<item name="js" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="Inventario" type="b2602c69:ProjectViewProjectNode" />
<item name="Inventario" type="462c0819:PsiDirectoryNode" />
<item name="sitio" type="462c0819:PsiDirectoryNode" />
<item name="usuario" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="Inventario" type="b2602c69:ProjectViewProjectNode" />
<item name="Inventario" type="462c0819:PsiDirectoryNode" />
<item name="sitio" type="462c0819:PsiDirectoryNode" />
<item name="usuario" type="462c0819:PsiDirectoryNode" />
<item name="js" type="462c0819:PsiDirectoryNode" />
<item name="solicitud" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/../sitio/prestamo-de-libros" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
<property name="nodejs_package_manager_path" value="npm" />
<property name="settings.editor.selected.configurable" value="web.server" />
</component>
<component name="RecentsManager">
<key name="MoveFile.RECENT_KEYS">
<recent name="C:\xampp\htdocs\Inventario\sitio\admin\js" />
<recent name="C:\xampp\htdocs\Inventario\sitio\admin" />
<recent name="C:\xampp\htdocs\inventario" />
<recent name="C:\xampp\htdocs\inventario\SQL" />
<recent name="C:\xampp\htdocs\inventario\js" />
</key>
<key name="CopyFile.RECENT_KEYS">
<recent name="C:\xampp\htdocs\Inventario\sitio\usuario" />
</key>
<key name="MoveFile.RECENT_KEYS">
<recent name="C:\xampp\htdocs\Inventario\sitio\admin\solicitud" />
<recent name="C:\xampp\htdocs\Inventario\sitio\admin" />
<recent name="C:\xampp\htdocs\Inventario\sitio\admin\js" />
<recent name="C:\xampp\htdocs\inventario" />
<recent name="C:\xampp\htdocs\inventario\SQL" />
</key>
</component>
<component name="RunDashboard">
<option name="ruleStates">
@@ -285,19 +246,20 @@
<workItem from="1547594014414" duration="10234000" />
<workItem from="1547615360096" duration="1682000" />
<workItem from="1547657243783" duration="4303000" />
<workItem from="1547680637920" duration="19216000" />
<workItem from="1547680637920" duration="19515000" />
<workItem from="1547779591786" duration="10583000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="86542000" />
<option name="totallyTimeSpent" value="97424000" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="24" width="1382" height="752" extended-state="6" />
<editor active="true" />
<layout>
<window_info id="Favorites" order="0" side_tool="true" />
<window_info active="true" content_ui="combo" id="Project" order="1" visible="true" weight="0.20953101" />
<window_info active="true" content_ui="combo" id="Project" order="1" visible="true" weight="0.21255673" />
<window_info id="Structure" order="2" side_tool="true" weight="0.25" />
<window_info anchor="bottom" id="Terminal" order="0" weight="0.3295325" />
<window_info anchor="bottom" id="Database Changes" order="1" />
@@ -305,7 +267,7 @@
<window_info anchor="bottom" id="Version Control" order="3" weight="0.3295325" />
<window_info anchor="bottom" id="Docker" order="4" show_stripe_button="false" />
<window_info anchor="bottom" id="Message" order="5" />
<window_info anchor="bottom" id="Find" order="6" />
<window_info anchor="bottom" id="Find" order="6" weight="0.32956383" />
<window_info anchor="bottom" id="Run" order="7" />
<window_info anchor="bottom" id="Debug" order="8" weight="0.4" />
<window_info anchor="bottom" id="Cvs" order="9" weight="0.25" />
@@ -385,6 +347,13 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/estilos.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1012">
<caret line="46" column="4" selection-start-line="46" selection-start-column="4" selection-end-line="46" selection-end-column="4" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/sitio/admin/alta.php">
<provider selected="true" editor-type-id="text-editor">
<state>
@@ -392,32 +361,43 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/sitio/admin/admin.php">
<entry file="file://$PROJECT_DIR$/js/main.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="154">
<caret line="71" column="74" lean-forward="true" selection-start-line="71" selection-start-column="4" selection-end-line="71" selection-end-column="74" />
<state relative-caret-position="-375">
<caret line="6" column="17" selection-start-line="6" selection-start-column="17" selection-end-line="6" selection-end-column="17" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/sitio/admin/js/busqueda.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418">
<caret line="19" selection-start-line="19" selection-end-line="19" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/sitio/admin/busqueda.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="22">
<caret line="2" column="14" lean-forward="true" selection-start-line="2" selection-start-column="14" selection-end-line="2" selection-end-column="14" />
<folding>
<element signature="n#style#0;n#h3#0;n#div#2;n#div#0;n#div#0;n#header#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#h1#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#input#0;n#div#0;n#article#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#1;n#tr#0;n#thead#0;n#table#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#2;n#tr#0;n#thead#0;n#table#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#3;n#tr#0;n#thead#0;n#table#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#4;n#tr#0;n#thead#0;n#table#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#5;n#tr#0;n#thead#0;n#table#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#1;n#tr#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#2;n#tr#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#3;n#tr#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#4;n#tr#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#5;n#tr#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/estilos.css">
<entry file="file://$PROJECT_DIR$/index.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="211">
<caret line="46" column="4" selection-start-line="46" selection-start-column="4" selection-end-line="46" selection-end-column="4" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/sitio/admin/solicitar.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="396">
<caret line="78" column="18" selection-start-line="78" selection-start-column="18" selection-end-line="78" selection-end-column="18" />
<folding>
<element signature="n#style#0;n#h1#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
<state relative-caret-position="352">
<caret line="32" column="16" selection-start-line="32" selection-start-column="16" selection-end-line="32" selection-end-column="83" />
</state>
</provider>
</entry>
@@ -428,38 +408,41 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/js/main.js">
<entry file="file://$PROJECT_DIR$/sitio/admin/admin.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="132">
<caret line="6" column="17" selection-start-line="6" selection-start-column="17" selection-end-line="6" selection-end-column="17" />
<state relative-caret-position="154">
<caret line="71" column="74" selection-start-line="71" selection-start-column="4" selection-end-line="71" selection-end-column="74" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/index.php">
<entry file="file://$PROJECT_DIR$/sitio/admin/solicitud/spapel.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2948">
<caret line="134" column="86" selection-start-line="134" selection-start-column="86" selection-end-line="134" selection-end-column="86" />
<folding>
<element signature="n#style#0;n#h1#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#0;n#tr#0;n#thead#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#1;n#tr#0;n#thead#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#2;n#tr#0;n#thead#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#3;n#tr#0;n#thead#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#4;n#tr#0;n#thead#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#0;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#1;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#2;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#3;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#4;n#tr#0;n#tbody#0;n#table#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#0;n#form#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#select#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#div#1;n#form#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#select#0;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/sitio/admin/solicitud/actualizacion.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="21" column="115" selection-start-line="21" selection-start-column="115" selection-end-line="21" selection-end-column="115" />
<folding>
<element signature="n#style#0;n#div#0;n#div#0;n#!!top" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/sitio/admin/js/busqueda.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418">
<caret line="19" lean-forward="true" selection-start-line="19" selection-end-line="19" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/sitio/admin/busqueda.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="527">
<caret line="36" column="83" selection-start-line="36" selection-start-column="83" selection-end-line="36" selection-end-column="83" />
<folding>
<element signature="n#style#0;n#td#3;n#tr#0;n#thead#0;n#table#0;n#!!top" expanded="true" />
<element signature="n#style#0;n#td#3;n#tr#0;n#!!top" expanded="true" />
</folding>
<caret line="9" column="36" selection-start-line="9" selection-start-column="36" selection-end-line="9" selection-end-column="36" />
</state>
</provider>
</entry>
+1 -1
View File
@@ -36,7 +36,7 @@ require "../../conexion.php";
<td style=\"text-align:center;\">".$fila['marca']."</td>
<td style=\"text-align:center;\">".$fila['descripcion']."</td>
<td style=\"text-align:center;\">".$fila['existencia']."</td>
<td style=\"text-align:center;\"> <a href='solicitar.php?id=".$fila['id_papel']."'>Solicitar</a></td>
<td style=\"text-align:center;\"> <a href='solicitud/spapel.php?id=".$fila['id_papel']."'>Solicitar</a></td>
<tr>";
}
+11
View File
@@ -0,0 +1,11 @@
<?php
session_start();
echo "periodo:";
print_r($_POST['select1']);
echo" Cantidad:";
print_r($_POST['select2']);
echo" id de elemento:";
print_r($_POST['id']);
echo" Usuario:";
print_r($_SESSION['usuario']['nombre']);
?>
@@ -9,7 +9,7 @@ else
{
header("Location: ../../index.php");
}
include("../../conexion.php");
include("../../../conexion.php");
?>
@@ -19,19 +19,19 @@ include("../../conexion.php");
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="../../estilos.css">
<link rel="stylesheet" href="../../../estilos.css">
<link href="https://fonts.googleapis.com/css?family=Spicy+Rice" rel="stylesheet">
<link rel="shortcut icon" type="image/png" href="../../img/escudo-unam.ico">
<link rel="shortcut icon" type="image/png" href="../../../img/escudo-unam.ico">
</head>
<body>
<header>
<div class="container" style="background-color: #1B3D70;">
<div class="row">
<div class="col-sm-12 col-md-6 d-flex d-sm-none d-md-block justify-content-sm-center justify-content-md-start my-2">
<img src="../../img/Logo-UNAM.png" alt="">
<img src="../../../img/Logo-UNAM.png" alt="">
</div>
<div class="col-sm-12 col-md-6 d-flex justify-content-sm-center justify-content-md-end my-3">
<img src="../../img/logo_fesa.png" style=" height: 60px;" alt="">
<img src="../../../img/logo_fesa.png" style=" height: 60px;" alt="">
</div>
<div>
<h3 style="margin-left: 20px; color: white;">
@@ -52,17 +52,17 @@ include("../../conexion.php");
<ul class="navbar-nav mr-auto">
<li class="nav-item dropdown my-2 mr-3">
<a class="nav-link-white" href="admin.php" role="button" >
<a class="nav-link-white" href="../admin.php" role="button" >
Stock
</a>
</li>
<li class="nav-item dropdown my-2 mr-3">
<a class="nav-link-white" href="admin.php" role="button" >
<a class="nav-link-white" href="../admin.php" role="button" >
Alta de Material
</a>
</li>
<li class="nav-item dropdown my-2 mr-3">
<a class="nav-link-white" href="../../destroy.php" role="button" >
<a class="nav-link-white" href="../../../destroy.php" role="button" >
Cerrar sesion
</a>
</li>
@@ -76,13 +76,67 @@ include("../../conexion.php");
$query = "SELECT * FROM cat_papel WHERE id_papel ='$id'";
$resultado = $mysqli->query($query) or die($mysqli->error);
$row = $resultado->fetch_assoc() ;
print_r($row);
//print_r($row);
?>
<div class="wrap">
<h1 style="margin-left:35%; margin-bottom: 5%;">Material en Stock</h1>
<h1 style="margin-left:40%; margin-bottom: 5%;">Solicitud</h1>
<h2>Descripcion de solicitud:</h2>
<table class='tabla_datos table'>
<thead class='table-primary'>
<tr>
<td style="text-align:center;">Concepto</td>
<td style="text-align:center;">Tipo</td>
<td style="text-align:center;">Marca</td>
<td style="text-align:center;">Descripción</td>
<td style="text-align:center;">Existencia</td>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:center;"><?php echo $row['concepto']?></td>
<td style="text-align:center;"><?php echo $row['tipo']?></td>
<td style="text-align:center;"><?php echo $row['marca']?></td>
<td style="text-align:center;"><?php echo $row['descripcion']?></td>
<td style="text-align:center;"><?php echo $row['existencia']?></td>
</tr>
</tbody>
</table>
<br>
<form action="actualizacion.php" method="POST">
<div class="input-group mb-3" style="width: 20%; ">
<div class="input-group-prepend">
<label class="input-group-text" for="inputGroupSelect01">Periodo</label>
</div>
<select class="custom-select disabled" name="select1" id="inputGroupSelect01" style="text-align:center;">
<option value="2019-2" name="1" selected>2019-2</option>
</select>
</div>
<div class="input-group mb-3" style="width: 20%;">
<div class="input-group-prepend">
<label class="input-group-text" for="inputGroupSelect01">Cantidad</label>
</div>
<select class="custom-select" id="inputGroupSelect01" name="select2" style="text-align:center;">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
</select>
</div>
<input type="hidden" name="id" value="<?php echo $row['id_papel'];?>"/>
<input type="hidden" name="usuario" value="<?php echo $_SESSION['usuario']['nombre'];?>"/>
<br>
<button type="submit" class="btn btn-primary">Solicitar</button>
</div>
</form>
@@ -101,8 +155,8 @@ include("../../conexion.php");
</footer>
<script src="../../https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="../../https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script src="../../js/jquery-3.3.1.min.js"></script>
<script src="../../js/main.js"></script>
<script src="../../../js/jquery-3.3.1.min.js"></script>
<script src="../../../js/main.js"></script>
</body>
</html>